SQL Playground
TutorialsPlayground
SQL FormatterSQL MinifierSyntax ValidatorJSON to SQLCSV to SQLSQL to JSONER Diagram Generator
Daily ChallengeInterviewsCheat SheetBlog

© 2026 SQL Playground. Built for developers.

PrivacyTermsAboutRSS Feed
SQL Playground
TutorialsPlayground
SQL FormatterSQL MinifierSyntax ValidatorJSON to SQLCSV to SQLSQL to JSONER Diagram Generator
Daily ChallengeInterviewsCheat SheetBlog
Initializing...
Chapter 1: The SELECT Statement
1-3
Your Progress

Filtering Data

Use the WHERE clause to filter rows that match a certain condition.

SELECT * FROM users WHERE role = 'admin';

Task: Find all users who have the role of 'user'.

Loading...
Run a query to see results