I am getting errors with a MySQL insert query which is puzzling me, it is based on the following query that works perfect.
INSERT INTO selected_product_parent_options (F_ID, NAME) (SELECT {GET.NxT_ID}, NAME FROM parent_options WHERE NAME NOT IN (SELECT NAME FROM selected_product_parent_options)...