Application Development

Software technique, Skills & Applications

判断一个表的数据不在另一个表中方法 July 12, 2011

Filed under: MS Access,mySql,Postgresql,SQL — meetme @ 9:49 pm

select a.* from tbl1 a
left join tbl2 b
on a.key = b.key
where b.key is null

 

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

 
Follow

Get every new post delivered to your Inbox.