Possible Duplicate:
Mysql select where not in table
I need select items from one table (t1) but exclude any results that have id in another table (t2) and have the same project ID.
SELECT *
FROM t1
WHERE project = 10
Need to exclude any rows that are present in t2.
t1.userID = t2.memberID AND t2.projectID = t1.project
Not sure how to put it all together...