The SQL query
SELECT columns FROM TableA RIGHT OUTER JOIN TableB ON A.columnName = B.columnName WHERE A.columnName IS NULL
returns the following:
Table A
Table B:
Then,
TableA RIGHT OUTER JOIN TableB ON A.columnName = B.columnName
Where A.columnName is NULL ------>>>>> return The row from table B which meet the equal condition but not the row from the Table A which meet the equal condition..
64.3k questions
77.9k answers
244k comments
80.0k users