Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Challenge: Surface Area Selection | Aggregate Functions
Introduction to SQL

book
Challenge: Surface Area Selection

Task

Swipe to start coding

Write an SQL query to get the average surfacearea from the country table, where the surfacearea is greater than 1000000.

Solution

SELECT AVG(surfacearea)
FROM country
WHERE surfacearea > 1000000;
Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 5. Chapter 2
single

single


Query ResultQuery Result
No query executed yet...

Ask AI

expand

Ask AI

ChatGPT

Ask anything or try one of the suggested questions to begin our chat

some-alt