删除一张表在另外一张表的相同数据
2017-07-24 本文已影响0人
安易学车
DELETE from qx_t_user1 WHERE userid in (
SELECT t.userid from
(select b.* from qx_t_user1 b
where b.userid in (select userid from qx_t_user) )AS t )
DELETE from qx_t_user1 WHERE userid in (
SELECT t.userid from
(select b.* from qx_t_user1 b
where b.userid in (select userid from qx_t_user) )AS t )