If you want to compare the query results try the following:
(select * from query1 MINUS select * from query2)
UNION ALL
(select * from query2 MINUS select * from query1)
This will result in all rows that are returned by only one of the queries.
More Related Contents:
- How can I select from list of values in Oracle
- How to kill a running SELECT statement
- How do I select all the columns from a table, plus additional columns like ROWNUM?
- DATEDIFF function in Oracle [duplicate]
- LISTAGG in Oracle to return distinct values
- Fetch the row which has the Max value for a column
- Oracle SQL: Update a table with data from another table
- Oracle SQL – How to Retrieve highest 5 values of a column [duplicate]
- Concatenate and group multiple rows in Oracle [duplicate]
- Difference between BYTE and CHAR in column datatypes
- SQL to generate a list of numbers from 1 to 100
- How to use BOOLEAN type in SELECT statement
- SQL WHERE ID IN (id1, id2, …, idn)
- How to show all privileges from a user in oracle?
- SQL – How to select a row having a column with max value [duplicate]
- Oracle: loading a large xml file?
- IF EXISTS condition not working with PLSQL
- Are there any way to execute a query inside the string value (like eval) in PostgreSQL?
- Fastest way to determine if record exists
- Using pivot on multiple columns of an Oracle row
- Solution to “cannot perform a DML operation inside a query”?
- Why can’t I seem to force Oracle 11g to consume more CPUs for a single SQL query
- How to query a CLOB column in Oracle
- Oracle (Old?) Joins – A tool/script for conversion?
- Using Alias In When Portion of a Case Statement in Oracle SQL
- Oracle string aggregation
- Oracle: SQL query to find all the triggers belonging to the tables?
- How can I solve ORA-00911: invalid character error?
- Why doesn’t Oracle SQL allow us to use column aliases in GROUP BY clauses?
- Oracle ‘Partition By’ and ‘Row_Number’ keyword