Beginner SQL Practice Exercises

Practice foundational SQL with free exercises covering SELECT, WHERE, ORDER BY, LIMIT, and COUNT. Each question includes an instant answer check and a worked solution.

Table Schema

Table:
Columns:

Task

Tip: Ctrl + Enter to submit

These beginner SQL exercises are designed for anyone learning SQL for the first time. Topics include basic SELECT queries, filtering with WHERE, sorting with ORDER BY, limiting results with LIMIT, and counting rows with COUNT. Great for students, data analyst job seekers, and anyone brushing up on SQL basics.