Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Impara The AVG() Function | Section
Practice
Projects
Quizzes & Challenges
Quiz
Challenges
/
SQL Fundamentals
Sezione 1. Capitolo 32
single

single

bookThe AVG() Function

Scorri per mostrare il menu

AVG() returns the average value of a certain column. Let's see an example:

12
SELECT AVG(population) FROM country;
copy

AVG() can also be used to find the average of a selected set of columns or rows that meet certain conditions. Here’s an example:

123
SELECT AVG(population) FROM country WHERE population < 4478500;
copy
Compito

Swipe to start coding

Write an SQL query to retrieve the average value of a surfacearea column from the country table.

Soluzione

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 1. Capitolo 32
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

some-alt