MySQL DELETE FROM與子查詢做爲條件

我正在嘗試這樣一個查詢:php DELETE FROM term_hierarchy AS th WHERE th.parent = 1015 AND th.tid IN ( SELECT DISTINCT(th1.tid) FROM term_hierarchy AS th1 INNER JOIN term_hierarchy AS th2 ON (th1.tid = t
相關文章
相關標籤/搜索