MySQL Error
Message: MySQL Query Error
SQL: SELECT l.*,g.ucounts FROM uchome_app_fgamelist as l left join (select fgid,count(fgid) As ucounts from uchome_app_wajin GROUP by fgid) as g On g.fgid=l.fgid ORDER BY ucounts DESC limit 21
Error: 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 fgid,count(fgid) As ucounts from uchome_app_wajin GROUP
Errno.: 1064