Search⌘ K
AI Features

Practice Exercises on SQL

Explore practical SQL exercises that help you apply core concepts such as data querying, table creation with constraints, data insertion, updates, deletions, and conditional selections. Learn to handle common data management tasks to build confidence in SQL fundamentals and prepare for real-world database operations.

Problem 1

Find the names and prices of all products that cost more than $50.

MySQL 8.0
-- Write your query here

Problem 2

Create a table named Reviews with the following columns and constraints:

  • ReviewID: INT, PRIMARY KEY, AUTO_INCREMENT

  • ProductID ...