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
.
Solution
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.
Merci pour vos commentaires !
single
Demandez à l'IA
Demandez à l'IA
Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion
Résumer ce chapitre
Expliquer le code dans file
Expliquer pourquoi file ne résout pas la tâche
Awesome!
Completion rate improved to 2.63
Challenge: Relation between engine size and fuel consumption
Glissez pour afficher le 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
.
Solution
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.
Merci pour vos commentaires !
Awesome!
Completion rate improved to 2.63single