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 2 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 2 of 6

The operator that reads a pattern

Level 2: Fill the blank · Exercise 1 of 1

Fill in the operator that matches the trimmed rate against a pattern, so the query lists the rows whose rate holds anything other than the digits 0 to 9.

Finish line: 2 rows · columns serial, daily_rate · in the order the question gives

Data: Trail Gear: build rehearsal.

Fill the blankOpening the database…
SELECT serial, daily_rate FROM stg_items WHERE TRIM(daily_rate) = '' OR TRIM(daily_rate) '*[^0-9]*' ORDER BY rowid;
  1. Blank 1 of 1: the pattern operator that understands * and [^0-9]
Open in the playground

Query results

Check to see the result here.

Check to see the result here.

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