You are here
Filter and group rows in SQL
Station 3 of 30
Already know this? Jump to the check
15 min
Learning evidence
- Viewed
- Practiced
- Check completed
- Practical task completed
Needs first
✓ Turn a spreadsheet into a checked input tableNext station
→ Join two SQL tables without multiplying rowsLight it up
15-min station · view, practice, pass the check, do the taskYour accountProgress log — saves your learning evidence
Data Scientists · Career line
- Data Scientists
Frame a business question around a decision → Data Scientists
Filter and group rows in SQLHere
… 21 more stations
Data ScientistsJob
What this skill is
Start in the approved read-only SQL environment and inspect the columns, row meaning and a small sample. Select the ID, date, status and depot instead of pulling every field.
Why the job needs it
Filter and group rows in SQL.
What the lesson covers
- 15-minute lesson
- 2 practice tasks
- The filtered set has 540 rows, and COUNT(closed_at) returns 487.
- Write the interval boundaries for a timestamp-based report covering July 1 through July 7.
- 5-question check
Preview
What does COUNT(delivered_at) count in a filtered query?
- Rows with any status in the source
- Distinct orders sharing a delivery time
- Rows whose timestamp was stored first
- Rows whose delivery time is present
Free with an account · Create free account
Every lesson is free with an account. Pro adds saved Job Desk quotes with clean PDFs, the Apprentice Hours log, and your progress saved across every tree.
Sources
https://www.postgresql.org/docs/current/queries-table-expressions.html · 2026-12-03
