I have a query to delete some rows, whats wrong with it?
DELETE FROM table1, table2, table3
WHERE table1.id = table2.id
AND table2.id = table3.id
AND table1.id = 10
please help with query
I have a query to delete some rows, whats wrong with it?
DELETE FROM table1, table2, table3
WHERE table1.id = table2.id
AND table2.id = table3.id
AND table1.id = 10
please help with query
With this query it should work.
I tested it local with this schema: http://sqlfiddle.com/#!9/e5be4/9
Details you can find in the socd: https://dev.mysql.com/doc/refman/5.0/en/delete.html