Football Matches - Tasks
Each of the questions/tasks below can be answered using a SELECT
query. When you find a solution copy it into the code block under the question before pushing your solution to GitHub.
Find all the matches from 2017.
<!-- Copy solution here -->
Find all the matches featuring Barcelona.
<!-- Copy solution here -->
What are the names of the Scottish divisions included?
<!-- Copy solution here -->
Find the division code for the Bundesliga. Use that code to find out how many matches Freiburg have played in the Bundesliga since the data started being collected.
<!-- Copy solution here -->
Find the unique names of the teams which include the word "City" in their name (as entered in the database)
<!-- Copy solution here -->
How many different teams have played in matches recorded in a French division?
<!-- Copy solution here -->
Have Huddersfield played Swansea in the period covered?
<!-- Copy solution here -->
How many draws were there in the Eredivisie between 2010 and 2015?
<!-- Copy solution here -->
Select the matches played in the Premier League in order of total goals scored from highest to lowest. Where there is a tie the match with more home goals should come first.
<!-- Copy solution here -->
In which division and which season were the most goals scored?
<!-- Copy solution here -->
Useful Resources
Last updated
Was this helpful?