Chapter Practice Arena
All ChaptersIntroduction to SQL Problems
Targeted practice challenges specifically curated for this chapter. Inspect hints, verify outputs, and check verified solutions.
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_id | name | age |
|---|---|---|
| 1 | Aman | 20 |
| 2 | Priya | 21 |
| 3 | Ravi | 19 |
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| name | age |
|---|---|
| Aman | 20 |
| Priya | 21 |
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