JOIN Quiz
game
id | mdate | stadium | team1 | team2 |
---|---|---|---|---|
1001 | 8 June 2012 | National Stadium, Warsaw | POL | GRE |
1002 | 8 June 2012 | Stadion Miejski (Wroclaw) | RUS | CZE |
1003 | 12 June 2012 | Stadion Miejski (Wroclaw) | GRE | CZE |
1004 | 12 June 2012 | National Stadium, Warsaw | POL | RUS |
... |
goal
matchid | teamid | player | gtime |
---|---|---|---|
1001 | POL | Robert Lewandowski | 17 |
1001 | GRE | Dimitris Salpingidis | 51 |
1002 | RUS | Alan Dzagoev | 15 |
1001 | RUS | Roman Pavlyuchenko | 82 |
... |
eteam
id | teamname | coach |
---|---|---|
POL | Poland | Franciszek Smuda |
RUS | Russia | Dick Advocaat |
CZE | Czech Republic | Michal Bilek |
GRE | Greece | Fernando Santos |
... |
You want to find the stadium where player 'Dimitris Salpingidis' scored. Select the JOIN condition to use:
You JOIN the tables goal and eteam in an SQL statement. Indicate the list of column names that may be used in the SELECT line:
Select the code which shows players, their team and the amount of goals they scored against Greece(GRE).
Select the result that would be obtained from this code:
DEN | 9 June 2012 |
---|---|
GER | 9 June 2012 |
Select the code which would show the player and their team for those who have scored against Poland(POL) in National Stadium, Warsaw.
Select the code which shows the player, their team and the time they scored, for players who have played in Stadion Miejski (Wroclaw) but not against Italy(ITA).
Select the result that would be obtained from this code:
Netherlands | 2 |
---|---|
Poland | 2 |
Republic of Ireland | 1 |
Ukraine | 2 |
Last updated