SQL code: select * from tb1 where not exists (select * from tb2)
¿ÉÄÜÃèÊö´íÁË£¬ÕâÁ½¸ö±íÓ¦¸ÃÊÇÕâÑùµÄ ÈçÏÂ: tb1 guid col col1 dadf abc 111 1erw cde 111 21qe qaz 222 qweq tgb 222
tb2 guid col2 col3 w5wr abc 111 w34f qaz 222 SQL code: select * from tb1 where not exists (select * from tb2 where tb1.col=tb2.col2 and tb1.col1=tb2.col3)