Split a tag list into one row per tag (outdoor shop)
Each product has a semicolon-separated Tags cell. Produce one row per product and tag, trimmed, with no empty tags.
- Level
- intermediate
- Time
- ~9 min
- Task
- Build the query
- Access
- Pro
Checking your access…
About this exercise
What you'll practise
Split delimited text into rows (not columns) and clean the pieces.
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
- Catalogue (table)
- Product: text
- Tags: text
Expected output columns
Product (text), Tag (text)