LXLogicExcel
๐Ÿ”ฅ
0
โญ
0
COUNT - Counting Rows1 / 10
The COUNT aggregate function counts the number of rows in a table. Try:

SELECT COUNT(*) FROM characters;
character_idcharacter_namehouse
1Harry PotterGryffindor
2Hermione GrangerGryffindor
3Ron WeasleyGryffindor
4Draco MalfoySlytherin
5Luna LovegoodRavenclaw

Ctrl+Enter to submit

๐Ÿ”ฅ 0 streak
โญ 0 XP this lesson
All Lessons

COUNT - Counting Rows - Free SQL Practice Online

Practise COUNT - Counting Rows with 10 free, interactive SQL exercises. You type real queries into your browser and get instant feedback on every answer - no database setup, no install, and no signup. It is a fast, hands-on way to learn SQL online and build query skills you can use at work.