Sample support ticket data
Updated 3 November 2026. Fictional U.S. businesses and people, generated with a fixed seed.
What is in it
Each row is one fictional customer support ticket opened in 2024: channel, category, priority, customer tier, agent, first-response and resolution hours, a service-level target by priority, whether it was met, reopen flag and a 1-5 satisfaction score. Tickets still open at year end have blank resolution fields.
More practice tables like this one: all 22 newer sample datasets.
First rows
point at a column to light it up
| ticket_idtext | created_datedate | created_hournumber | channeltext | categorytext | prioritytext | customer_tiertext | agenttext | statustext | first_response_hoursnumber | resolution_hoursnumber | resolved_datedate | sla_target_hoursnumber | sla_metyes/no | reopenedyes/no | csat_scorenumber |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| TK700001 | 2024-08-14 | 19 | Phone | Shipping | Medium | Pro | Stephanie M. | Closed | 3.6 | 13.8 | 2024-08-15 | 24 | TRUE | FALSE | 5 |
| TK700002 | 2024-01-22 | 23 | Billing | High | Free | Sarah H. | Resolved | 0.3 | 0.9 | 2024-01-22 | 8 | TRUE | FALSE | 4 | |
| TK700003 | 2024-10-19 | 18 | Chat | Technical | Medium | Free | Eric S. | Closed | 2.2 | 14.8 | 2024-10-20 | 24 | TRUE | FALSE | 4 |
| TK700004 | 2024-08-23 | 18 | Account | Medium | Pro | William H. | Closed | 6.5 | 25.3 | 2024-08-24 | 24 | FALSE | FALSE | ||
| TK700005 | 2024-11-29 | 6 | Chat | Billing | Medium | Pro | John L. | Resolved | 5.9 | 26.2 | 2024-11-30 | 24 | FALSE | FALSE | 3 |
| TK700006 | 2024-07-03 | 14 | Web form | Billing | Low | Pro | Sarah H. | Resolved | 18.3 | 54.7 | 2024-07-05 | 72 | TRUE | FALSE | |
| TK700007 | 2024-04-20 | 12 | Billing | Medium | Pro | Robert W. | Closed | 11.2 | 39.5 | 2024-04-22 | 24 | FALSE | FALSE | ||
| TK700008 | 2024-02-17 | 15 | Web form | Billing | Medium | Pro | John B. | Closed | 21.3 | 68.8 | 2024-02-20 | 24 | FALSE | FALSE | 2 |
| TK700009 | 2024-07-25 | 15 | Web form | Shipping | Medium | Pro | John B. | Resolved | 0.9 | 11.6 | 2024-07-26 | 24 | TRUE | FALSE | 4 |
| TK700010 | 2024-04-30 | 16 | Chat | Feature request | Urgent | Pro | Samuel B. | Closed | 0.2 | 2.2 | 2024-04-30 | 4 | TRUE | FALSE | 3 |
Tickets by category
tickets, 1,000-row file
Show as a table
| category | value |
|---|---|
| Technical | 355 |
| Billing | 209 |
| Account | 174 |
| Shipping | 165 |
| Feature request | 97 |
Data dictionary
| Column | Type | Meaning |
|---|---|---|
| ticket_id | text | Ticket number |
| created_date | date | Date opened (2024) |
| created_hour | integer | Hour opened, 0-23 |
| channel | text | Email, Chat, Phone or Web form |
| category | text | Billing, Technical, Account, Shipping or Feature request |
| priority | text | Urgent, High, Medium or Low |
| customer_tier | text | Free, Pro or Enterprise |
| agent | text | Fictional agent name |
| status | text | Open, Resolved or Closed |
| first_response_hours | decimal | Hours until the first reply |
| resolution_hours | decimal | Hours from opening to resolution, blank while Open |
| resolved_date | date | Date resolved: created_date plus whole days in created_hour + resolution_hours; blank while Open |
| sla_target_hours | integer | Resolution target by priority: Urgent 4, High 8, Medium 24, Low 72 |
| sla_met | boolean | resolution_hours <= sla_target_hours, blank while Open |
| reopened | boolean | Customer reopened the ticket |
| csat_score | integer | Customer satisfaction 1-5, blank if no survey answer |
Practice questions
answers checked in SQL and in Python
SLA met rate by priority (resolved tickets only)?
Urgent 61.5%; Medium 58.8%; High 58.5%; Low 54.4%
Excel
=COUNTIFS(F:F,"Urgent",N:N,TRUE)/(COUNTIFS(F:F,"Urgent",N:N,TRUE)+COUNTIFS(F:F,"Urgent",N:N,FALSE))SQL
SELECT priority, ROUND(100.0*SUM(sla_met)/COUNT(sla_met),1) AS pct FROM support_tickets WHERE sla_met IS NOT NULL GROUP BY priority ORDER BY pct DESC, priorityFile: support-tickets-1000
Average resolution hours by category (resolved tickets)?
Technical 44.5 h; Shipping 32.8 h; Account 31.5 h; Billing 31.5 h; Feature request 30.1 h
Excel
=AVERAGEIF(E:E,"Technical",K:K)SQL
SELECT category, ROUND(AVG(resolution_hours),1) AS h FROM support_tickets WHERE resolution_hours IS NOT NULL GROUP BY category ORDER BY h DESC, categoryFile: support-tickets-1000
How many tickets are still open, and how many were reopened?
14 open, 82 reopened
Excel
=COUNTIF(I:I,"Open") and =COUNTIF(O:O,TRUE)SQL
SELECT SUM(status = 'Open'), SUM(reopened) FROM support_ticketsFile: support-tickets-1000