标签: php mysql
删除时,获取列数等错误与第1行的值计数不匹配
Mysql查询: -
DELETE FROM customers WHERE customers.id IN (SELECT cust_id FROM customers_info)
答案 0 :(得分:0)
试试这个:
DELETE FROM customers WHERE customers.id IN (SELECT GROUP_CONCAT(cust_id) FROM customers_info)