Meet the table · SELECT, FROM, ORDER BY id and LIMIT as a preview · level 2 of 6
Choose the evidence
Level 2: Fill the blank · Exercise 2 of 2
Return id, lineIndex and episodeName, with episodeName headed episode, for the first four lines. Fill in the column that makes first four mean the same four every time. Before you run it, say how many rows and columns come back.
Finish line:4 rows · columns id, lineIndex, episode · in the order the question gives
Data: Rick & Morty.
Fill the blankOpening the database…
SELECT id, lineIndex, episodeName AS episode
FROM scripts
ORDER BY
LIMIT 4;
Blank 1 of 1: the column that makes the first four repeatable