mysql中一条语句删除两个表之中的相同数据
delete t1,t2 from user as t1 left join user_regist as t2 on t1.uid=t2.uid where t1.uid=1;
仅限于MySQL5.0及以上 delete t1,t2 这两个t1,t2的名字不能变