Bicycles SQL Exercise
Support
Script
Exercises
-
What riders belong to the team ‘Os Velozes’? (name)
-
What rider won the ‘Porto - Aveiro’ stage? (name)
-
What riders ciclistas raced the ‘Coimbra - Lisboa’ stage and what was their final position? Order the answer by their position. (name, position)
-
How many riders are there in each team? (team, total)
-
What is the total sum of times of each rider? (name, total)
-
What team, or teams, has a smaller sum of its riders total times? (team)
-
What is the average time in each stage? (description, average)
-
What stage, or stages, had the smaller average time? (description)
-
What was the time difference between the first and second rider in each stage? (description, difference)
-
What stage had the biggest time difference between the first and second rider to finish it, what rider won that stage and with how much lead time. (description, name, difference).