hi guys,
i get this sql select
SELECT COUNT(DISTINCT EntrantsEpost) AS Expr1 FROM ENTRIES WHERE (EntrantsEpost IN (SELECT EntrantsEpost FROM ENTRIES WHERE RightOrWrong = 1 GROUP BY EntrantsEpost HAVING COUNT(*) = 24))
to work correctly on mssql 2000, but i just get the following error in mysql
[MySQL][ODBC 3.51 Driver][mysqld-4.0.26-nt]You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'SELECT EntrantsEpost FROM ENTRIES WHERE RightOrWrong = 1 GROUP
but i don'tsee the error. does anyone have any ideas?
thanks in advance.
marz