SQL-Code:
DELETE FROM `kundendaten` AS K
LEFT JOIN `links` AS L ON (K.link_id = L.Link_id)
WHERE
(L.link_id IS NULL) AND (K.kd IS NULL)
Bei dieser Abfrage erhalte ich immer einen Syntax fehler, von
MySql zurück.
Allerdings bei dieser Abfrage klappt alles
SQL-Code:
Select * FROM `kundendaten` AS K
LEFT JOIN `links` AS L ON (K.link_id = L.Link_id)
WHERE
(L.link_id IS NULL) AND (K.kd IS NULL)
Wieso?