Skip to Main Content

SQLmind - Guess the SQL statement

WHERE
last_name IS NULL
GUESS #1
How to play
< Erase
Submit Solution >
u.id = e.id
INSERT INTO
id,
UPDATE
email,
DELETE
first_name = 'Al',
employees e
FROM
CREATE TABLE
email IS NULL AND
JOIN users u ON
subscribers s
SET
s.id = e.id
email = 'al@o.dq'
email
WITH users AS
AND country IS NULL
email IS NOT NULL
ORDER BY id
id > 10 AND
SELECT
MAX ( hired )

Legend

= choice is in the correct position in the solution.
= choice is in the solution but was in the incorrect position.
= choice is not in the solution.

How to Play SQuizL

The goal is to select the correct sequence of choices to form the solution in the least amount of guesses. There are only a few rules:

  • There is only one solution for every quiz.
  • There are 7 parts to every solution, consisting of 5 choices and 2 clues
  • The solution is one of the many valid SQL statements that can be constructed from the choices and clues shown above.
  • Have fun!