sql查詢:存在A表而不在B表中的數據
A、B兩表,找出ID字段中,存在A表,但是不存在B表的數據。 方法一:使用 not inselect distinct A.ID from A where A.ID not in (select I ...
A、B兩表,找出ID字段中,存在A表,但是不存在B表的數據。 方法一:使用 not inselect distinct A.ID from A where A.ID not in (select I ...