-- ## 9: Show open tickets, ordered by last change ## -- -- -- * List all active tickets by priority. -- * Color each row based on priority. -- * Show last mod SELECT p.value AS __color__, id AS ticket, summary, component, t.type AS type, owner, time AS created, changetime, description AS _description, reporter AS _reporter FROM ticket t, enum p WHERE status <> 'closed' AND p.name = t.priority AND p.type = 'priority' ORDER BY changetime, milestone, t.type, time