Reporting on re-assigned/escalated tickets

Reporting on re-assigned/escalated tickets

Can i please get the MSSQL Query for the linked report :