Predict AVG Result
Predict Output Easy
Question
Given a `scores` table with values 80, 90, 100, what does this return?
Code
SELECT AVG(score) FROM scores;
Hint
AVG is the sum divided by the count.
Explanation
AVG(score) = (80 + 90 + 100) / 3 = 270 / 3 = 90.
Related Resources
Related Lessons
- Aggregations
Learn AVG.
Look up unfamiliar terms
A beginner-friendly glossary explains jargon in plain English — variables, functions, DOM, Promise, and more.
Decode error messages
Plain-English explanations of common errors — what they mean, why they happen, and how to fix them.
Build real projects
Apply what you learned by building guided projects with starter code and solutions.