After moving to another hosting, the mysql select query stopped working
SELECT c.*
FROM module C
where (c.gender=IF (c.gender=0,c.gender,2))
you have different case for the aliases FROM module C and c
use one
and remember that table names, like their aliases, are files, and file names can be case-sensitive depending on the operating system where mysql is installed))
thanks, will keep that in mind
Comments