我想通過id
得到下面的查詢刪除所有的行,但查詢運行正常,但它沒有執行 - 沒有錯誤或行影響。我用tripple檢查了表格中的所有顏色名稱,並且它們是正確的。MYSQL加入查詢沒有刪除
MYSQL:
DELETE c FROM campaigns c
JOIN campaignsFroms f ON f.campaign_id = c.id
JOIN campaignsRaw r ON r.campaignId = c.id
JOIN campaignsSubjects s ON s.campaign_id = c.id
WHERE c.id = 1582
你可以檢查'SELECT * FROM ..'是否返回記錄? – Halcyon