Error text : SELECT mg_goldpackage.plat_public_id, mg_plat_public.plat_public_name FROM mg_goldpackage INNER JOIN mg_platgame ON mg_goldpackage.plat_public_id=mg_platgame.plat_public_id INNER JOIN mg_plat_public ON mg_platgame.plat_public_id=mg_plat_public.plat_public_id WHERE 1=1 AND mg_goldpackage.game_public_id = AND mg_goldpackage.business_public_id=1 GROUP BY mg_goldpackage.plat_public_id
Error Number : 1064
Error Message : 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 'AND mg_goldpackage.business_public_id=1 GROUP BY mg_goldpackage.plat_public_id' at line 18