Complete COUNT Function
Fill in the Blank Beginner
Question
Fill in the blank to count all rows in the users table:
Code
SELECT ___(*) FROM users;
Hint
This function counts the number of rows.
Explanation
COUNT(*) returns the total number of rows in the table. It is the most common aggregate function for counting records.
Related Resources
Related Lessons
- Aggregations
Learn COUNT.
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.