Free practice · Interactive SQL · hard
Practice
Filter a complete calendar month
Return ticket_id and opened_date for tickets opened in March 2026. Use a half-open range from 2026-03-01 up to, but not including, 2026-04-01.
Table relationshipssupport_tickets.customer_id→customers.customer_id
customers
Customer profile fields used for account reporting.
6 rowsGrain One row per customer
customer_idTEXTPKcustomer_nameTEXTcityTEXTstate_codeTEXTsegmentTEXTsignup_dateTEXT
Preview source rows
support_tickets
Customer support requests with intentionally untidy subjects.
5 rowsGrain One row per support ticket
ticket_idTEXTPKcustomer_idTEXTFKopened_dateTEXTclosed_dateTEXTpriorityTEXTsubjectTEXTchannelTEXTresolution_hoursREAL
Preview source rows
Changes to this practice database are never saved.
Ready to check your work?Edit the starter query, run it, then compare your result with the task.