Learn with Abdou

Chapter 2 · Concept 4 of 6 · Practice

Where is Rick in the title?

LIKE, %, _ and DISTINCT · level 6 of 6

Opening your saved work…

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

Where is Rick in the title? · LIKE, %, _ and DISTINCT · level 6 of 6

Four letters, or a prefix?

Level 6: Transfer it · Exercise 1 of 3

Same idea as Where is Rick in the title?, new data.

On Rick & Morty, 'R%' found three speaker labels and 'R___' found one. Take the same two ideas to the IMDb table. Return id and title for the films whose title is exactly four characters long and begins with R, ordered by id. Finish line: two columns, every title four characters.

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

Data: IMDb Movies.

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

CURRENT DATABASE

Quick schema · IMDb Movies

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.