Is there a way to compare two identical tables and retrieve differential rows in Informix DB?
Consider the below tables, where ID is the primary key.
TABLE A
ID NAME EMAIL PROFILE
a1 ABC [email protected] student
a2 XYZ [email protected] student
a3 LMN [email protected] Staff
TABLE B
ID NAME EMAIL PROFILE
a1 ABC [email protected] student
a2 XYZ [email protected] student
a3 LMN [email protected] student
Kindly help me in framing an SQL to retrieve rows from TABLE A which is not matching with TABLE B.
OUTPUT should be:
ID NAME EMAIL PROFILE
a3 LMN [email protected] Staff