error in query ....
Posted on 2002-05-03
I'm using PHP with mySQL and getting an error while executing the following query. this query is running fine in SQL Server but gives an error in mySQL.
qry is ....
SELECT DISTINCT Email FROM sw_users WHERE sw_users.Email NOT IN (SELECT DISTINCT email from tblusage))
and the err is
You have an error in your SQL syntax near 'SELECT DISTINCT email from tblusage))
why is it so? why is it running fine in SQL Server and not in mySQL ???