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
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.
SELECT serial, daily_rate
FROM stg_items
WHERE TRIM(daily_rate) = ''
OR TRIM(daily_rate) '*[^0-9]*'
ORDER BY rowid;
- Blank 1 of 1: the pattern operator that understands * and [^0-9]
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.