The AVG() Function
メニューを表示するにはスワイプしてください
AVG() returns the average value of a certain column.
Let's see an example:
12SELECT AVG(population) FROM country;
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:
123SELECT AVG(population) FROM country WHERE population < 4478500;
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?
すべて明確でしたか?
フィードバックありがとうございます!
セクション 5. 章 1
AIに質問する
AIに質問する
何でも質問するか、提案された質問の1つを試してチャットを始めてください
セクション 5. 章 1