Error: SELECT gm.*,t1.name as t1n,t2.name as t2n,t1.id as t1i, t2.id as t2i,lgs.sport as sp,lgs.licence,lgs.parent_id FROM system.games AS gm INNER JOIN system.leagues as lgs ON lgs.id=gm.key_leagues INNER JOIN system.teams as t1 ON t1.id=gm.t1 INNER JOIN system.teams as t2 ON t2.id=gm.t2 WHERE gm.id='4241'
Error:

Error: SELECT * FROM system.teams WHERE id='148'
Error: