-- ## 11: Last modified ## -- -- - all tickets order by descent last modified date SELECT p.value AS __color__, id AS ticket, summary, component, version, milestone, t.type AS type, reporter AS reporter, owner, status, time AS created, changetime AS modified FROM ticket t LEFT JOIN enum p ON p.name = t.priority AND p.type = 'priority' ORDER BY changetime desc