Consolidation round


Ranking and schedule:
Group A
Database query failed: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'as team_id, 3 as rank union all select , 4 ) pom ) a' at line 6

Last SQL query: SELECT AS team_id, gp.game_id,, gp.score, pom.rank as rank, g.status, t.is_guest, c.image, g.type FROM game_participants AS gp INNER JOIN games AS g ON gp.game_id = INNER JOIN teams AS t ON gp.team_id = INNER JOIN clubs AS c ON INNER JOIN (select pom.team_id, pom.rank from (select as team_id, 3 as rank union all select , 4 ) pom ) as pom on WHERE IN (SELECT id FROM (SELECT game_id AS id, COUNT(game_id) AS br FROM `game_participants` AS gid INNER JOIN games AS g ON gid.game_id = INNER JOIN phazes AS p ON g.phaze_id = WHERE team_id IN (, , 0) AND (( or (p.level =((SELECT level FROM phazes WHERE id=2)-1))) AND p.comp_id=216 GROUP BY game_id HAVING COUNT(game_id)=2) AS g_id) ORDER BY game_id,
Rnk Team Played Won Tied Lost For Against Diff. Points