Take each file's month from its name (kites)
The files don't contain a date column, but their names do (orders-2026-03.csv). Add a Month date to every row.
- Level
- intermediate
- Time
- ~10 min
- Task
- Build the query
- Access
- Pro
Checking your access…
About this exercise
What you'll practise
Derive data from file metadata when combining files.
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
- OrdersFolder (folder)
- Columns: Content (binary), Name, Extension, Date modified, Folder Path
- File orders-2026-01.csv
- File orders-2026-02.csv
Expected output columns
Month (date), OrderID (text), Customer (text), Qty (number)