Finals |
Knock Out Stage|Tournaments|Q58 (Control) Knock Out Stage|Tournaments|Q57 (Control) Knock Out Stage|Tournaments|S62 (Control) Knock Out Stage|Tournaments|Q59 (Control) Knock Out Stage|Tournaments|Q60 (Control) Knock Out Stage|Tournaments|Finale (Control) Knock Out Stage|Tournaments|S61 (Control) Setup/3. Modified Pairings|Dummy|DefaultsFinals|StoredFinals (Control) |
SELECT |
Details |
SELECT "vFinals"."TID", "vFinals"."Q" AS "CCA", "vFinals_1"."Q" AS "CCB", "vCurrentDefaults"."ID", "vCurrentDefaults"."G", "vCurrentDefaults"."A" AS "GA", "vCurrentDefaults"."B" AS "GB" FROM "vFinals" RIGHT JOIN "vCurrentDefaults" ON "vFinals"."MID" = "vCurrentDefaults"."A" AND "vFinals"."TID" = "vCurrentDefaults"."TID" LEFT JOIN "vFinals" AS "vFinals_1" ON "vCurrentDefaults"."B" = "vFinals_1"."MID" AND "vCurrentDefaults"."TID" = "vFinals_1"."TID" |
GroupStageFix |
|
SELECT |
Details |
SELECT "TID", "G", "T", "Rank", "FIX", CASEWHEN("FIX", '--> GO', '') AS "Status" FROM "vGroupStageFix" WHERE "Rank" < 3 |
GroupStagePairings |
|
SELECT |
Details |
SELECT "Groupings"."TID" AS "TID", "Defaults"."G", "Defaults"."A", "Defaults"."B", "Defaults"."ID", "Countries"."N" AS "AName", "Countries_1"."N" AS "BName", "Defaults"."ID" FROM "Defaults", "Groupings", "Groupings" AS "Groupings_1", "Countries", "Countries" AS "Countries_1" WHERE "Defaults"."G" = "Groupings"."G" AND "Defaults"."A" = "Groupings"."N" AND "Groupings_1"."N" = "Defaults"."B" AND "Groupings_1"."G" = "Defaults"."G" AND "Groupings"."TID" = "Groupings_1"."TID" AND "Groupings"."CC" = "Countries"."CODE" AND "Groupings_1"."CC" = "Countries_1"."CODE" ORDER BY "Defaults"."ID" ASC |
GroupStageTables |
Group Stage|MainForm|Points (Control) |
SELECT |
Details |
SELECT "vGroupStageRanking"."TID", "vGroupStageRanking"."G", "vGroupStageRanking"."T", "vGroupStageRanking"."Rank", "vGroupStageRanking"."CNT", "Countries"."N", "vGroupStageRanking"."PTS", "vGroupStageRanking"."GDIFF" FROM "Groupings", "Countries", "vGroupStageRanking" WHERE "Groupings"."CC" = "Countries"."CODE" AND "vGroupStageRanking"."TID" = "Groupings"."TID" AND "vGroupStageRanking"."G" = "Groupings"."G" AND "vGroupStageRanking"."T" = "Groupings"."CC" |
MatchOfHonour |
Knock Out Stage|Tournaments|MatchOfHonour (Control) |
SELECT |
Details |
SELECT "vMatchofHonour"."TID", "vMatchofHonour"."Q" AS "CCA", "vMatchofHonour_1"."Q" AS "CCB", "vCurrentDefaults"."ID", "vCurrentDefaults"."G", "vCurrentDefaults"."A" AS "GA", "vCurrentDefaults"."B" AS "GB" FROM "vMatchofHonour" RIGHT JOIN "vCurrentDefaults" ON "vMatchofHonour"."MID" = "vCurrentDefaults"."A" AND "vMatchofHonour"."TID" = "vCurrentDefaults"."TID" LEFT JOIN "vMatchofHonour" AS "vMatchofHonour_1" ON "vMatchofHonour_1"."MID" = "vCurrentDefaults"."B" AND "vMatchofHonour_1"."TID" = "vCurrentDefaults"."TID" |
qCountryPicker |
Group Stage|MainForm|M|Text Box 1 (Control) Group Stage|MainForm|M|Text Box 1 (Control) Group Stage|MainForm|MainForm_Grid|B (Control) Group Stage|MainForm|MainForm_Grid|A (Control) Knock Out Stage|Tournaments|MatchOfHonour|BName (Control) Knock Out Stage|Tournaments|MatchOfHonour|AName (Control) Knock Out Stage|Tournaments|Q58|BName (Control) Knock Out Stage|Tournaments|Q58|AName (Control) Knock Out Stage|Tournaments|Q57|BName (Control) Knock Out Stage|Tournaments|Q57|AName (Control) Knock Out Stage|Tournaments|S62|BName (Control) Knock Out Stage|Tournaments|S62|AName (Control) Knock Out Stage|Tournaments|P56|BName (Control) Knock Out Stage|Tournaments|P56|AName (Control) Knock Out Stage|Tournaments|Q59|BName (Control) Knock Out Stage|Tournaments|Q59|AName (Control) Knock Out Stage|Tournaments|P54|BName (Control) Knock Out Stage|Tournaments|P54|AName (Control) Knock Out Stage|Tournaments|Q60|BName (Control) Knock Out Stage|Tournaments|Q60|AName (Control) Knock Out Stage|Tournaments|P53|BName (Control) Knock Out Stage|Tournaments|P53|AName (Control) Knock Out Stage|Tournaments|Finale|BName (Control) Knock Out Stage|Tournaments|Finale|AName (Control) Knock Out Stage|Tournaments|P49|BName (Control) Knock Out Stage|Tournaments|P49|AName (Control) Knock Out Stage|Tournaments|S61|BName (Control) Knock Out Stage|Tournaments|S61|AName (Control) Knock Out Stage|Tournaments|P55|BName (Control) Knock Out Stage|Tournaments|P55|AName (Control) Knock Out Stage|Tournaments|P50|BName (Control) Knock Out Stage|Tournaments|P50|AName (Control) Knock Out Stage|Tournaments|P51|BName (Control) Knock Out Stage|Tournaments|P51|AName (Control) Knock Out Stage|Tournaments|P52|BName (Control) Knock Out Stage|Tournaments|P52|AName (Control) Setup/2. Initial Groups|Tournaments|TH3|CH3 (Control) Setup/2. Initial Groups|Tournaments|TH2|CH2 (Control) Setup/2. Initial Groups|Tournaments|TH1|CH1 (Control) Setup/2. Initial Groups|Tournaments|TG3|CG3 (Control) Setup/2. Initial Groups|Tournaments|TG2|CG2 (Control) Setup/2. Initial Groups|Tournaments|TG1|CG1 (Control) Setup/2. Initial Groups|Tournaments|TF3|CF3 (Control) Setup/2. Initial Groups|Tournaments|TC2|CC2 (Control) Setup/2. Initial Groups|Tournaments|TH4|CH4 (Control) Setup/2. Initial Groups|Tournaments|TC1|CC1 (Control) Setup/2. Initial Groups|Tournaments|TB4|CB4 (Control) Setup/2. Initial Groups|Tournaments|TB3|CB3 (Control) Setup/2. Initial Groups|Tournaments|TB2|CB2 (Control) Setup/2. Initial Groups|Tournaments|TG4|CG4 (Control) Setup/2. Initial Groups|Tournaments|TB1|CB1 (Control) Setup/2. Initial Groups|Tournaments|TA4|CA4 (Control) Setup/2. Initial Groups|Tournaments|TA3|CA3 (Control) Setup/2. Initial Groups|Tournaments|TF2|CF2 (Control) Setup/2. Initial Groups|Tournaments|TA2|CA2 (Control) Setup/2. Initial Groups|Tournaments|TF1|CF1 (Control) Setup/2. Initial Groups|Tournaments|TF4|CF4 (Control) Setup/2. Initial Groups|Tournaments|TA1|CA1 (Control) Setup/2. Initial Groups|Tournaments|TC3|CC3 (Control) Setup/2. Initial Groups|Tournaments|TC4|CC4 (Control) Setup/2. Initial Groups|Tournaments|TD1|CD1 (Control) Setup/2. Initial Groups|Tournaments|TD2|CD2 (Control) Setup/2. Initial Groups|Tournaments|TD3|CD3 (Control) Setup/2. Initial Groups|Tournaments|TD4|CD4 (Control) Setup/2. Initial Groups|Tournaments|TE1|CE1 (Control) Setup/2. Initial Groups|Tournaments|TE2|CE2 (Control) Setup/2. Initial Groups|Tournaments|TE3|CE3 (Control) Setup/2. Initial Groups|Tournaments|TE4|CE4 (Control) Setup/3. Modified Pairings|Dummy|DefaultsFinals|StoredFinals|Table Control 1|List Box 2 (Control) Setup/3. Modified Pairings|Dummy|DefaultsFinals|StoredFinals|Table Control 1|List Box 1 (Control) Setup/3. Modified Pairings|Dummy|DefaultsR16|StoredR16|Table Control 1|List Box 2 (Control) Setup/3. Modified Pairings|Dummy|DefaultsR16|StoredR16|Table Control 1|List Box 1 (Control) |
SELECT |
Details |
SELECT "N", "CODE" FROM "Countries" WHERE "H" = FALSE ORDER BY "N" ASC |
qRank_All |
|
SELECT |
Details |
SELECT "Tournaments"."ID", "Tournaments"."Year" || ' -- ' || "Tournaments"."Host" AS "T", "Countries"."N", "vFinalRanking"."R", SUM("vPointsGoals"."PTS") AS "PTS", SUM("vPointsGoals"."GDIFF") AS "GDIFF", SUM("vPointsGoals"."GAIN") AS "GAIN", SUM(- 1 * "LOSS") AS "LOSS" FROM "vFinalRanking", "Countries", "vPointsGoals", "Tournaments" WHERE "vFinalRanking"."CC" = "Countries"."CODE" AND "vPointsGoals"."T" = "vFinalRanking"."CC" AND "vPointsGoals"."TID" = "vFinalRanking"."TID" AND "vFinalRanking"."TID" = "Tournaments"."ID" GROUP BY "Tournaments"."ID", "Countries"."N", "vFinalRanking"."R", "Tournaments"."Year", "Tournaments"."Host" |
qRank_Current |
|
SELECT |
Details |
SELECT "Countries"."N", "R" FROM "vFinalRanking", "Filter", "Countries" WHERE "vFinalRanking"."CC" = "Countries"."CODE" AND "Filter"."INT1" = "vFinalRanking"."TID" AND "Filter"."ID" = 0 ORDER BY "R" ASC, "D" DESC, "X" DESC, "Y" ASC |
qReportGroupStage |
|
SELECT |
Details |
SELECT "Tournaments"."Host" || ' ' || "Tournaments"."Year" || ' ' || "Tournaments"."Description" AS "Tournament", "vGroupStageRanking"."G" AS "Group", "vGroupStageRanking"."Rank", "Countries"."N" AS "Country", "vGroupStageRanking"."PTS" AS "Points", "vGroupStageRanking"."GDIFF" AS "Goals Diff" FROM { OJ "vGroupStageRanking" RIGHT OUTER JOIN "Tournaments" ON "vGroupStageRanking"."TID" = "Tournaments"."ID" }, "Countries", "Filter" WHERE "Countries"."CODE" = "vGroupStageRanking"."T" AND "Tournaments"."ID" = "Filter"."INT1" AND "Filter"."ID" = 0 ORDER BY "Tournament" ASC, "Group" ASC, "vGroupStageRanking"."Rank" ASC |
qTournamentPicker |
Knock Out Stage|List Box 1 (Control) Setup/1. Translations and Tournaments|CurrentTournamentForm|List Box 1 (Control) Setup/2. Initial Groups|List Box 1 (Control) Setup/3. Modified Pairings|List Box 1 (Control) |
SELECT |
Details |
SELECT "Year" || ' - ' || "Host" AS "Visible", "ID" FROM "Tournaments" ORDER BY "Visible" DESC |
Query1 |
Query2 (Query) |
SELECT |
Details |
SELECT "G1"."A", "G1"."B", POWER(2, "F"."ID") - 1 AS "R" FROM "Filter" AS "F", "vCurrentDefaults" AS "G1" WHERE "F"."ID" BETWEEN 0 AND 2 AND "G1"."TID" = 4 AND "G1"."G" = 'G' |
Query2 |
|
SELECT |
Details |
SELECT "Query1"."A", "Query1"."B", "Query1_1"."R" FROM "Query1", "Query1" AS "Query1_1" |
Query3 |
|
SELECT |
Details |
SELECT "F1"."ID" - 1 AS "X1", "F2"."ID" - 1 AS "X2", "F3"."ID" - 1 AS "X3", "F4"."ID" - 1 AS "X4", "F5"."ID" - 1 AS "X5", "F6"."ID" - 1 AS "X6" FROM "Filter" AS "F1", "Filter" AS "F2", "Filter" AS "F3", "Filter" AS "F4", "Filter" AS "F5", "Filter" AS "F6" WHERE "F1"."ID" BETWEEN 0 AND 2 AND "F1"."ID" >= "F2"."ID" AND "F2"."ID" BETWEEN 0 AND 2 AND "F2"."ID" >= "F3"."ID" AND "F3"."ID" BETWEEN 0 AND 2 AND "F3"."ID" >= "F4"."ID" AND "F4"."ID" BETWEEN 0 AND 2 AND "F4"."ID" >= "F5"."ID" AND "F5"."ID" BETWEEN 0 AND 2 AND "F5"."ID" >= "F6"."ID" AND "F6"."ID" BETWEEN 0 AND 2 |
Round16 |
Knock Out Stage|Tournaments|P56 (Control) Knock Out Stage|Tournaments|P54 (Control) Knock Out Stage|Tournaments|P53 (Control) Knock Out Stage|Tournaments|P49 (Control) Knock Out Stage|Tournaments|P55 (Control) Knock Out Stage|Tournaments|P50 (Control) Knock Out Stage|Tournaments|P51 (Control) Knock Out Stage|Tournaments|P52 (Control) Setup/3. Modified Pairings|Dummy|DefaultsR16|StoredR16 (Control) |
SELECT |
Details |
SELECT "vCurrentDefaults"."TID", "vCurrentDefaults"."G", "vCurrentDefaults"."ID", CHAR("vCurrentDefaults"."A") AS "GA", CHAR("vCurrentDefaults"."B") AS "GB", "vGroupStageFix_1"."T" AS "CCA", "vGroupStageFix_2"."T" AS "CCB" FROM "vGroupStageFix" AS "vGroupStageFix_1" RIGHT OUTER JOIN "vCurrentDefaults" ON "vGroupStageFix_1"."GN" = "vCurrentDefaults"."A" AND "vGroupStageFix_1"."Rank" = 1 AND "vGroupStageFix_1"."TID" = "vCurrentDefaults"."TID" AND "vGroupStageFix_1"."FIX" = 1 LEFT OUTER JOIN "vGroupStageFix" AS "vGroupStageFix_2" ON "vGroupStageFix_2"."GN" = "vCurrentDefaults"."B" AND "vGroupStageFix_2"."Rank" = 2 AND "vGroupStageFix_2"."TID" = "vCurrentDefaults"."TID" AND "vGroupStageFix_2"."FIX" = 1 WHERE "vCurrentDefaults"."G" = 'P' |