Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
学ぶ The AVG() Function | Aggregate Functions
Introduction to SQL (60/40)

bookThe AVG() Function

メニューを表示するにはスワイプしてください

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

1. What does the AVG() function return in SQL?

2. Which SQL clause can be used with AVG() to calculate the average for a subset of rows?

question mark

What does the AVG() function return in SQL?

正しい答えを選んでください

question mark

Which SQL clause can be used with AVG() to calculate the average for a subset of rows?

正しい答えを選んでください

すべて明確でしたか?

どのように改善できますか?

フィードバックありがとうございます!

セクション 5.  1

AIに質問する

expand

AIに質問する

ChatGPT

何でも質問するか、提案された質問の1つを試してチャットを始めてください

セクション 5.  1
some-alt