Drag the edges to resize the window.

In Projects, you can keep track of your progress as you go throught the tasks. Check each item as you complete it!

Code Editor

Query Results

Run a query to see results.

Database Schema

Schema undefined.
Learn
Aggregate Functions

Count

The fastest way to calculate how many rows are in a table is to use the COUNT function.

COUNT is a function that takes the name of a column as an argument and counts the number of non-empty values in that column.

SELECT COUNT(*) FROM table_name;

Here, we want to count every row, so we pass * as an argument inside parenthesis.

Report a Bug
If you see a bug or any other issue with this page, please report it here.