I have two sql server 2005 tables like so:
Table A
varName varStatus
AGE Text
AGENDA Text
TEACH Text
Table B
varName varDesc
ACT Text
AGE Text
SAT Text
GPA Text
I need one or two queries to get all the varNames between the two tables that are not in both tables. For instance, above example would use:
Table A: AGENDA, TEACH
Table B: ACT, SAT, GPA
This is correct since AGE is the only varname that appears in both tables.
1 Answer