Answered step by step
Verified Expert Solution
Question
1 Approved Answer
This case study focuses on extracting agent performance metrics from Zendesk's data. Your task is to write SQL queries that can accurately gather these metrics.
This case study focuses on extracting agent performance metrics from Zendesk's data. Your task is to write SQL queries that can accurately gather these metrics.
Zendesk Data Structure
Zendesk primarily organizes its data in multiple tables, but for the purpose of this case study we will focus on the following tables and fields:
ZDTickets" Table:
Key Fields: ID CREATEDAT UPDATEDAT ASSIGNEEID STATUS, SATISFACTIONRATING
Description: Contains comprehensive details about customer tickets.
ZDUsers" Table:
Key Fields: ID NAME, ROLE
Description: Details about users, including agents handling the tickets.
ZDTicketMetrics" Table:
Key Fields: TICKETID REPLYTIMEINMINUTES, FIRSTRESOLUTIONLTIMEINMINUTES
Description: Tracks specific metrics related to each ticket, like reply times and resolution times.
You can view some sample data here.
Your Task
Imagine these tables are located in a database labeled HEVODATABASE and within the MONGOMAINAPP schema.
Create an SQL query to determine the average first reply time and average first resolution time by month for the past months.
Create an SQL query that provides average satisfaction score as calculated by Zendesk and total tickets solved by agent by month for the last months.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started