Question : SQL syntax for MySql query

Hi,
I am running MySql 5.0.67. I have two tables. Table one contains the details of participants who took part in an event last year. Table two contains participants that will take part in similar event this year. Some of the participants in Table two, may be in Table one. I am after a query that shows me the email addresses from Table two that are not in Table one. Any help would be greatly appreciated.

Thank you.

Answer : SQL syntax for MySql query

SELECT t2.Email
FROM Table2 t2 LEFT JOIN
      Table1 t1 ON t2.Email = t1.Email
WHERE t1.Email IS NULL
Random Solutions  
 
programming4us programming4us