MYSQL语法不正确

时间:2015-10-27 05:59:57

标签: php mysql

我在下面的语句中收到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 'c JOIN campaignsFroms f ON f.id = c.id JOIN campaignsRaw r ON r.' at line 2

错误

我缺少什么语法?

代码:

DELETE 
    FROM campaigns c
    JOIN campaignsFroms f      ON f.id = c.id
    JOIN campaignsRaw r        ON r.id = c.id
    JOIN campaignsSubjects s   ON s.id = c.id
    JOIN campaignIPTracking ip ON ip.id = c.id
    JOIN campaignTracking ct   ON ct.id = c.id
    WHERE c.id = '1582'

1 个答案:

答案 0 :(得分:4)

z-index:10000000;