List every validation issue per lead (solar)
Check three rules on each sales lead and report the failed ones in one Issues column, keeping only rows with problems.
- Level
- advanced
- Time
- ~12 min
- Task
- Build the query
- Access
- Pro
Checking your access…
About this exercise
What you'll practise
Evaluate several validation rules per row and summarise the failures as text.
The scenario, sample data, step list, hints and solution open with Pro. Grading checks your query against hidden data as well as the visible sample, so a query that only fits the sample doesn't pass.
Input
- Leads (table)
- LeadID: text
- Email: text (nullable)
- Budget: number (nullable)
- Country: text
Expected output columns
LeadID (text), Issues (text)