Quiz on PostgreSQL AVG Function



1. What does the AVG() function in PostgreSQL do?
2. Which data types can be used with the AVG() function?
3. What will be the result of AVG() if there are no rows in the selected group?
4. Can the AVG() function be used with GROUP BY clause?
5. What is the syntax for using the AVG() function?

Advertisements