Question: 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:
"ZD_Tickets" Table:
Key Fields: ID, CREATED_AT, UPDATED_AT, ASSIGNEE_ID, STATUS, SATISFACTION_RATING
Description: Contains comprehensive details about customer tickets.
"ZD_Users" Table:
Key Fields: ID, NAME, ROLE
Description: Details about users, including agents handling the tickets.
"ZD_Ticket_Metrics" Table:
Key Fields: TICKET_ID, REPLY_TIME_IN_MINUTES, FIRST_RESOLUTIONLTIME_IN_MINUTES
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 HEVO_DATABASE and within the MONGO_MAIN_APP schema.
Create an SQL query to determine the average first reply time and average first resolution time by month for the past 12 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 6 months.
 This case study focuses on extracting agent performance metrics from Zendesk's

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!