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

Scorri per mostrare il menu

book
Challenge: Relation between engine size and fuel consumption

Compito

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.

Soluzione

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 desktopCambia al desktop per esercitarti nel mondo realeContinua da dove ti trovi utilizzando una delle opzioni seguenti
Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 6. Capitolo 4
single

single

Chieda ad AI

expand

Chieda ad AI

ChatGPT

Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione

close

Awesome!

Completion rate improved to 2.63

book
Challenge: Relation between engine size and fuel consumption

Compito

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.

Soluzione

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 desktopCambia al desktop per esercitarti nel mondo realeContinua da dove ti trovi utilizzando una delle opzioni seguenti
Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

close

Awesome!

Completion rate improved to 2.63

Scorri per mostrare il menu

some-alt