
[英]SQL Query to compare two columns with one column equal to a column in another table and second column is not equal to the second column from t2
表结构如下 t1 PK:(id,item) ID 物品 1个 1个 1个 2个 1个 3个 2个 1个 2个 2个 2个 3个 t2 PK:(id,item) ID 物品 1个 1个 1个 2个 2个 1个 2个 3个 output 预计:t1 ID 物品 1个 3个 2个 2个我尝试了下面的 ...