Challenge: Relation between engine size and fuel consumption
Swipe to start coding
From the audi_cars
table calculate the average fuel consumption (mpg
column) for each engine size (enginesize
). Order results in descending order by the average value of mpg
. Expected output: enginesize | average mpg
.
Solução
The result may seem strange, but don't forget that the
mpg
column refers to miles per gallon. The greater this value, the less fuel car consumes.
Obrigado pelo seu feedback!
single
Pergunte à IA
Pergunte à IA
Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo
Awesome!
Completion rate improved to 2.63Awesome!
Completion rate improved to 2.63
Challenge: Relation between engine size and fuel consumption
Swipe to start coding
From the audi_cars
table calculate the average fuel consumption (mpg
column) for each engine size (enginesize
). Order results in descending order by the average value of mpg
. Expected output: enginesize | average mpg
.
Solução
The result may seem strange, but don't forget that the
mpg
column refers to miles per gallon. The greater this value, the less fuel car consumes.
Obrigado pelo seu feedback!
single
Awesome!
Completion rate improved to 2.63
Challenge: Relation between engine size and fuel consumption
Deslize para mostrar o menu
Swipe to start coding
From the audi_cars
table calculate the average fuel consumption (mpg
column) for each engine size (enginesize
). Order results in descending order by the average value of mpg
. Expected output: enginesize | average mpg
.
Solução
The result may seem strange, but don't forget that the
mpg
column refers to miles per gallon. The greater this value, the less fuel car consumes.
Obrigado pelo seu feedback!