-- ## 4: 활성화된 티켓중 소유자별로 할당된 티켓들 ## -- -- -- 할당된 티켓들을 소유자별로 그룹화하고, 우선순위별로 정렬해서 보여줍니다. SELECT p.value AS __color__, owner AS __group__, id AS ticket, summary, component, milestone, t.type AS type, time AS created, changetime AS _changetime, description AS _description, reporter AS _reporter FROM ticket t LEFT JOIN enum p ON p.name = t.priority AND p.type = 'priority' WHERE status = 'assigned' ORDER BY owner, p.value, t.type, time