SQL Practice Exercises — Free Online SQL Drills

300+ free SQL exercises for beginners, intermediate, and advanced learners. Practice SELECT, JOINs, GROUP BY, subqueries, and more. No setup required, just write queries.

Whether you're learning SQL for the first time or sharpening skills before a data analyst interview, these exercises cover the core SQL commands with real practice problems and instant explanations.

SQL Drills is a free SQL practice site with exercises organized by difficulty and topic. All exercises run in your browser. No account, no database setup, no installs needed.