Remove unneeded teams from tables in mytable site.

This commit is contained in:
2018-04-03 19:12:36 +02:00
parent 511fab50b7
commit 148c16c87a

View File

@@ -137,6 +137,7 @@ $sql = 'SELECT
AND b.goals_home <> ''
AND b.goals_guest <> ''
AND m.matchday <= $matchday
AND m.show_table = 0
GROUP BY t.team_id
ORDER BY t.group_id ASC, points DESC, goals_diff DESC, goals DESC";
@@ -233,6 +234,7 @@ $sql = 'SELECT
AND b.goals_home <> ''
AND b.goals_guest <> ''
AND m.matchday >= $form_from
AND m.show_table = 0
GROUP BY t.team_id
ORDER BY t.group_id ASC, points DESC, goals_diff DESC, goals DESC";
@@ -300,6 +302,7 @@ $sql = 'SELECT
AND b.goals_home <> ''
AND b.goals_guest <> ''
AND m.matchday <= $matchday
AND m.show_table = 0
GROUP BY t.team_id
ORDER BY t.group_id ASC, points DESC, goals_diff DESC, goals DESC";
@@ -365,6 +368,7 @@ $sql = 'SELECT
AND b.goals_home <> ''
AND b.goals_guest <> ''
AND m.matchday <= $matchday
AND m.show_table = 0
GROUP BY t.team_id
ORDER BY t.group_id ASC, points DESC, goals_diff DESC, goals DESC";