-- ## 51: Active Tickets (copy) ## -- -- -- * List all active tickets sorted by most recent modified date. -- * Color each row based on priority. SELECT p.value AS __color__, id AS ticket, summary, component, owner, time AS created, t.type AS type, owner, reporter, status, changetime AS modified, t.description AS _description FROM ticket t LEFT JOIN enum p ON p.name = t.priority AND p.type = 'priority' WHERE status = 'new' AND OWNER = 'nc7pc' AND time > 'Nov 30, 2015' ORDER BY changetime ASC