Зміст курсу
SQL Basics
SQL Basics
Challenge: Relation between engine size and fuel consumption
Завдання
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
.
Завдання
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
.
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.
Все було зрозуміло?
Challenge: Relation between engine size and fuel consumption
Завдання
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
.
Завдання
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
.
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.
Все було зрозуміло?
Challenge: Relation between engine size and fuel consumption
Завдання
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
.
Завдання
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
.
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.
Все було зрозуміло?
Завдання
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
.
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.