Free practice · Interactive SQL · medium
Practice
Find open high-priority tickets
Return ticket_id and priority for High-priority tickets whose closed_date is missing.
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.