Error: SELECT * FROM system.stats ss WHERE ss.key_players=''
Error:
ERROR: invalid input syntax for integer: "" LINE 1: SELECT * FROM system.stats ss WHERE ss.key_players='' ^

Error: SELECT * FROM system.stats ss WHERE ss.key_players=''
Error:
ERROR: invalid input syntax for integer: "" LINE 1: SELECT * FROM system.stats ss WHERE ss.key_players='' ^

Birthday
Age
IAFA player since01.01.70
External profile

Error: SELECT (SELECT SUM(s_g) FROM system.stats ss LEFT JOIN system.games sg ON sg.id=ss.key_games WHERE sg.key_leagues=l.id AND ss.key_players='') as sg, (SELECT SUM(s_a) FROM system.stats ss LEFT JOIN system.games sg ON sg.id=ss.key_games WHERE sg.key_leagues=l.id AND ss.key_players='') as sa, (SELECT SUM(s_o) FROM system.stats ss LEFT JOIN system.games sg ON sg.id=ss.key_games WHERE sg.key_leagues=l.id AND ss.key_players='') as so, (SELECT SUM(s_y) FROM system.stats ss LEFT JOIN system.games sg ON sg.id=ss.key_games WHERE sg.key_leagues=l.id AND ss.key_players='') as sy, (SELECT SUM(s_r) FROM system.stats ss LEFT JOIN system.games sg ON sg.id=ss.key_games WHERE sg.key_leagues=l.id AND ss.key_players='') as sr, l.name as league, l.id as league_id,t.id as team_id,t.name as team, * FROM system.players_teams pt LEFT JOIN system.leagues l ON l.id=pt.key_leagues LEFT JOIN system.leagues_teams lt ON lt.key_teams=pt.key_teams AND lt.key_leagues=pt.key_leagues LEFT JOIN system.teams t ON t.id=pt.key_teams WHERE pt.key_players='' AND length(l.name)>0 AND length(t.name)>0 AND l.d1>0 ORDER BY l.d2 DESC
Error:
ERROR: invalid input syntax for integer: "" LINE 2: ...ames WHERE sg.key_leagues=l.id AND ss.key_players='') as sg,... ^