Hello, I have TWO tables.
TABLE1
-----------
ID ProgramID
01 Program1
02 Program2
03 Program3
04 Program4
....
15 Program15
TABLE2
-----------
ID Username ProgramID
01 Gary Program1
02 John Program2
03 James Program15
04 Gary Program30
05 Gary Program16
Now, we can see in TABLE2 that Gary has joined Program1, Program16 and
Program30, but he has not joined any of the others. How can I return a list
of all the programs GARY has NOT joined? I basically need to return ALL
rows from Table1, WHERE Username <> Gary in Table2.
Not sure if I should be using Subqueries our Joins.
Any help appreciated!!
Gary.