Statistical analysis of case resolution times — by priority, owner, origin, and account
SQLSTATE[42P10]: Invalid column reference: 7 ERROR: for SELECT DISTINCT, ORDER BY expressions must appear in select list
LINE 1: ... priority IS NOT NULL AND priority != '' ORDER BY CASE prior...
^
No cases found for the selected criteria.