I have 2 tables (say A and B) in a MS SQL DB representing customer transactions. Both share a column (say Column X).
Ideally information in table B is a subset of information in table A.
Can I run a SQL query to check based on Column X if all the values in Table B are present in Table A?
Thanks
to get all records from table
Athat are not in tableB. Orto get all records from table
Bthat are not in tableA.