Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Oppiskele Challenge: Relation between engine size and fuel consumption | Practicing
SQL Basics

bookChallenge: Relation between engine size and fuel consumption

Tehtävä

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.

Ratkaisu

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.

Switch to desktopVaihda työpöytään todellista harjoitusta vartenJatka siitä, missä olet käyttämällä jotakin alla olevista vaihtoehdoista
Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 6. Luku 4
single

single

Kysy tekoälyä

expand

Kysy tekoälyä

ChatGPT

Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme

close

Awesome!

Completion rate improved to 2.63

bookChallenge: Relation between engine size and fuel consumption

Tehtävä

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.

Ratkaisu

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.

Switch to desktopVaihda työpöytään todellista harjoitusta vartenJatka siitä, missä olet käyttämällä jotakin alla olevista vaihtoehdoista
Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 6. Luku 4
single

single

close

Awesome!

Completion rate improved to 2.63

bookChallenge: Relation between engine size and fuel consumption

Pyyhkäise näyttääksesi valikon

Tehtävä

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.

Ratkaisu

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.

Switch to desktopVaihda työpöytään todellista harjoitusta vartenJatka siitä, missä olet käyttämällä jotakin alla olevista vaihtoehdoista
Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

some-alt