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

single

bookThe AVG() Function

Swipe um das Menü anzuzeigen

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
Aufgabe

Swipe to start coding

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

Lösung

Switch to desktopWechseln Sie zum Desktop, um in der realen Welt zu übenFahren Sie dort fort, wo Sie sind, indem Sie eine der folgenden Optionen verwenden
War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 1. Kapitel 32
single

single

Fragen Sie AI

expand

Fragen Sie AI

ChatGPT

Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen

some-alt