SQL Exercises

Learn JSON  Learn W3.JS  Web Templates  Web Development  Learn XML DOM  W3.JS Reference  SQL HOME  SQL Intro  SQL Syntax  SQL Select 

You can test your SQL skills with W3Schools' Exercises.

We have gathered a variety of SQL exercises (with answers) for each SQL Chapter.

Try to solve an exercise by filling in the missing parts of a code. If your stuck, hit the "Show Answer" button to see what you've done wrong.

You will get 1 point for each correct answer. Your score and total score will always be displayed.

Good luck!

Start SQL Exercises ❯

If you don't know SQL, we suggest that you read our SQL Tutorial from scratch.

The perfect solution for professionals who need to balance work, family, and career building.

More than 10 000 certificates already issued!

Get Your Certificate »

The HTML Certificate documents your knowledge of HTML.

The CSS Certificate documents your knowledge of advanced CSS.

The JavaScript Certificate documents your knowledge of JavaScript and HTML DOM.

The jQuery Certificate documents your knowledge of jQuery.

The PHP Certificate documents your knowledge of PHP and SQL (MySQL).

The XML Certificate documents your knowledge of XML, XML DOM and XSLT.

The Bootstrap Certificate documents your knowledge of the Bootstrap framework.

HTML
CSS
JavaScript
PHP
jQuery
Bootstrap
XML

Your message has been sent to W3Schools.

W3Schools Certification

colorpicker

W3Schools.com