I have two identical tables such as :
table1
col1 col2 col3 col4 col5
table2
col1 col2 col3 col4 col5
I want to compare table 1 and 2 and find identical rows (col1, col2, col3, col4 etc..) between the 2 tables.
I think we need to use vtable or something similar ..
I tried
SELECT * FROM TABLE1 WHERE COL1, COL2, COL3, COL4 IN
(SELECT COL1, COL2, COL3, COL4 FROM TABLE2);
It doesn’t work ..
help please 🙂
1 Answer