摘要:
1、从MySQL数据表A中把那些id值在数据表B里有匹配的记录全删除掉 DELETE t2 FROM A t1,B t2 WHERE t1.id = t2.id DELETE FROM t2 USING A t1,B t2 WHERE t1.id = t2.id 【USING 的用法: using( 阅读全文
摘要:
1、从MySQL数据表A中把那些id值在数据表B里有匹配的记录全删除掉 DELETE t2 FROM A t1,B t2 WHERE t1.id = t2.id DELETE FROM t2 USING A t1,B t2 WHERE t1.id = t2.id 【USING 的用法: using( 阅读全文
|