Hey guys getting this syntax error on my sql query:
‘#1064 – 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 ‘A (Status) VALUES (“NOK”) INNER JOIN lm_Schwellwert S ON A.Typ = S.Typ WHERE A.B’ at line 1
This is my query:
INSERT INTO lm_Artikel A INNER JOIN lm_Schwellwert S
ON A.Typ = S.Typ (Status) VALUES ("NOK") WHERE A.Bestand < S.Schwellwert
Can you help me to find the error i don’t know what is wrong.
I think you are trying to do this: