-- ## 44: Tickets, by Reporter (Gary Kinard) ## -- -- -- Tickets written by Gary SELECT p.value AS __color__, id AS ticket, reporter, summary, component, t.type AS type, owner, status, time AS created, changetime AS _changetime, t.description AS _description, reporter AS _reporter FROM ticket t LEFT JOIN enum p ON p.name = t.priority AND p.type = 'priority' WHERE status <> 'closed' AND reporter = 'GaryK' ORDER BY reporter asc, priority desc