i try this requete but a have a syntaxe error :
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE fk_competence NOT EXISTS (SELECT fk_competence FROM apo_competence_theme W' at line 1
INSERT INTO apo_competence_theme (fk_competence, fk_theme) VALUES (15,11),(8,11),(11,11) WHERE fk_competence NOT EXISTS (SELECT fk_competence FROM apo_competence_theme WHERE fk_theme = 11)
i want to insert when the record don't exist in this table
thx for answer