S
Seoffix.com
Sign In Get Pro Membership

SQL & MariaDB

SQL SELECT

Beginner SQL 25 XP

SQL SELECT

SELECT picks columns, WHERE filters rows and ORDER BY sorts them.

Example

SELECT title FROM posts WHERE views > 100 ORDER BY views DESC;

Your task

Select name from users where active = 1, ordered by id.

Hints

  1. Start with SELECT name FROM users
  2. WHERE active = 1
  3. ORDER BY id

Check your understanding

Answer every question to pass.
1. Which clause filters rows?

Your answer

This lesson is checked against the lesson rules. Your code is never run on our servers.

AI Code Explainer & Translator

Runs without any outside service.
 
Mark Complete & Earn XP
Earn 25 XP after you pass the quiz. Finish every lesson in the track to earn its certificate.
Sign in to earn XP