Learn with Abdou

Chapter 2 · Concept 3 of 6 · Practice

Ask for Morty

WHERE, boundaries, AND, OR, parentheses, IN and BETWEEN · level 6 of 6

Opening your saved work…

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

Ask for Morty · WHERE, boundaries, AND, OR, parentheses, IN and BETWEEN · level 6 of 6

Shops with a drive-through

Level 6: Transfer it · Exercise 1 of 12

Same idea as Ask for Morty, new data.

Northshore Coffee is a fictional chain of eight coffee shops along Lake Superior's North Shore. Its shops table holds a 1 in has_drive_thru for a shop with a drive-through and a 0 for one without. Return name and city for the shops with a drive-through, ordered by name. Finish line: two columns, alphabetical by name.

Finish line: 4 rows · columns name, city · in the order the question gives

Data: Northshore Coffee.

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

CURRENT DATABASE

Quick schema · Northshore Coffee

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.