时间:2021-07-01 10:21:17 帮助过:235人阅读
SELECT * from(
SELECT
a.id
FROM
dd_item a
LEFT JOIN dd_item_cat b ON a.class_id = b.id
WHERE
b.parent_id=23 and
(b.name in (‘生蚝‘,‘带鱼‘,‘黄鳝‘))
) as ee
)
//mysql 根据查询子条件进行删除表的记录
mysql 根据查询条件删除数据 mark一下
标签:class mys mysq name delete 根据 记录 查询 删除