是两个表吧 首先,找ta表中的不同 select f1 from ta where f1 not in ( select f1 from tb ) 把 ta ,f1中不在 tb 的值显示出来 然后,找tb表中的不同 select f1 from tb where f1 not in ( select f1 from ta ) 把 tb ,f1中不在 ta 的值显示出来 ...
如何判断mysql中数据表中两个列之间的相同记录和不同记录
是两个表吧 首先,找ta表中的不同 select f1 from ta where f1 not in ( select f1 from tb ) 把 ta ,f1中不在 tb 的值显示出来 然后,找tb表中的不同 select f1 from tb where f1 not in ( select f1 from ta ) 把 tb ,f1中不在 ta 的值显示出来2017-01-07