Query failed
SELECT N_id_gamename,S_gamename,N_link_gameinfo,B_prerelease FROM data_gamename LEFT JOIN gameinfo_gamename ON gameinfo_gamename.N_ref_gamename=data_gamename.N_id_gamename WHERE gameinfo_gamename.N_ref_gameinfo=2240 AND gameinfo_gamename.B_alternate=0 ORDER BY B_mastername DESC,N_link_gameinfo,B_prerelease,S_gamename