Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lära Challenge: Average Q-series cars price | Practicing
SQL Basics

book
Challenge: Average Q-series cars price

Uppgift

Swipe to start coding

From the audi_cars table calculate the average price for Q-series cars. Round result to 2 decimals.

Lösning

SELECT ROUND(AVG(price), 2)
FROM audi_cars
WHERE model LIKE 'Q%'

Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 6. Kapitel 2

Query ResultQuery Result
No query executed yet...

Fråga AI

expand
ChatGPT

Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal

We use cookies to make your experience better!
some-alt