Learn with Abdou

Chapter 2 · Concept 2 of 6 · Practice

Name the result

aliases, expressions and text labels · level 5 of 6

Opening your saved work…

Sign in to save across devices → · Download your guest work before switching accounts.

Name the result · aliases, expressions and text labels · level 5 of 6

The speaker column repeats its own name

Level 5: Repair it · Exercise 1 of 1

Every card on the recap page says characterName where a name should be.

This query runs without an error, and the speaker column reads characterName on every row. Repair it so that speaker shows the stored name for the first four lines by id. Then say what the original was showing.

Finish line: 4 rows · columns id, speaker · in the order the question gives

Data: Rick & Morty.

Opening the database…
Table & column names only · ↑ ↓ choose · Tab insert · Esc dismiss

CURRENT DATABASE

Quick schema · Rick & Morty

Press Esc or click outside to return to your query. PK = primary key · FK = declared foreign key.

This database has no tables yet. Create a table, then reopen the schema to see its columns.

Control Space also opens names. Enter adds a new line. Control or Command Enter runs your query.
Open in the playground

Query results

Run your query to see the result here.

Run your query to see the result here.

Practice here is evidence for you and your instructor, never a grade. Grades live in Canvas.