Skip to content
Chapter Practice Arena

Querying Data with SELECT Problems

Targeted practice challenges specifically curated for this chapter. Inspect hints, verify outputs, and check verified solutions.

All Chapters
Filter by Language:5 Problems
Filter by SQL Chapter:
Difficulty:
Chapter:
Showing 5 challenges · 5 total · Page 1 of 1
Guided Practice: Build a Simple Report
Starter Code
-- Practice query for Retrieving Data with SELECT
Expected Output
A result set containing emp_id, full_name, department, and monthly_salary, sorted by descending salary with emp_id as the tie-breaker.
Guided Practice: Filter an Orders Table
Starter Code
-- Practice query for Filtering Data with WHERE
Expected Output
A result containing qualifying orders with the four requested columns.
Guided Practice: Create a Product Report
Starter Code
-- Practice query for Selecting Specific Columns
Expected Output
A report with product title, price, cost, gross profit, and margin percentage, sorted by descending gross profit.
Guided Practice: Unique Product Categories
Starter Code
-- Practice query for Removing Duplicate Results with DISTINCT
Expected Output
A sorted list of unique categories found among active products. The actual values depend on the table contents.
Guided Practice: Latest Order per Customer
Starter Code
-- Practice query for Removing Duplicate Results with DISTINCT
Expected Output
One selected order for each customer_id present in orders.