Skip to content
Codewilds

Lesson 6 of 30 · Querying Basics

Quiz: SQL Querying Basics

Quizeasy10 XP1 min readFree lesson

You can now ask a database real questions: pick and rename columns with SELECT and AS, calculate new values, filter rows with WHERE, AND, OR and parentheses, match patterns, lists and ranges with LIKE, IN and BETWEEN, handle missing values with IS NULL, and sort and page through results with ORDER BY, LIMIT and OFFSET.

Answer these six questions before you face the chapter boss. Read every explanation, even for the questions you get right — each one points at a detail that trips up beginners.

What this quiz covers

The questions check what you learned in the Querying Basics chapter of Learn SQL. Not sure about a topic? Review its lesson first:

Keep learning

Need a quick reminder? The SQL cheat sheet has every topic of Learn SQL on one page.

Lesson last updated on .

Take the quiz ↓
Quiz+10 XP
Question 1 of 60/6 correct

Which query returns only the name and level columns of every hero?