Learn with Abdou

Chapter 10 · Concept 2 of 5 · Practice

The invalid rate hides behind zero

CAST, GLOB, why a CHECK cannot see the source · level 6 of 6

Opening your saved work…

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

The invalid rate hides behind zero · CAST, GLOB, why a CHECK cannot see the source · level 6 of 6

Wages with cents

Level 6: Transfer it · Exercise 1 of 1

Same idea as The invalid rate hides behind zero, new data.

Northshore Coffee's new-hire file is staged in stg_new_hires, every column as text. Its dictionary says a wage is written with digits and a decimal point, such as 15.00, and nothing else. List first_name, last_name and hourly_wage for the hires whose wage text breaks that rule, in file order.

Finish line: 2 rows · columns first_name, last_name, hourly_wage · 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.