假设我有两个 SELECT 查询针对同一张表,我需要逐列比较它们。
查询 1:
查询 1:
select * from mytable t1 where t1.code = '100'
返回:
id name
1 A
2 B
查询2:
select * from mytable t2 where t2.code = '999'
返回:
id name
1 A
2 C
在我的情况中,这两个查询返回的行数相同。
期望的结果
id name_t1 name_t2
2 B C
我该如何使用 PL/SQL developer 找到它们之间的数据差异(最好使用工具避免查询)?
我的 PL/SQL Developer 版本为8.0.3.1510
MINUS
也可能对您有帮助。 - Maheswaran Ravisankar