Skip to content
Chapter Practice Arena

Introduction to SQL Problems

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

All Chapters
Filter by Language:4 Problems
Filter by SQL Chapter:
Difficulty:
Chapter:
Showing 4 challenges · 4 total · Page 1 of 1
Using the students table from this lesson, write a query that returns every column for every student and sorts the results by student_id.
Starter Code
-- Write your query below
Expected Output
Formatted Result
student_idnameage
1Aman20
2Priya21
3Ravi19
3 rows returned3 columns
Write a query that returns the name and age of students whose age is greater than 19. Sort the results by student_id.
Starter Code
-- Write your query below
Expected Output
Formatted Result
nameage
Aman20
Priya21
2 rows returned2 columns
11. Guided Practice
Starter Code
-- Practice query for Relational Databases, Tables, Rows, and Columns
15. Guided Practice
Starter Code
-- Practice query for Installing SQL and Setting Up Your Environment