-- ## 5: Прийняті, Активні квитки за Власниками (Повний опис) ## -- -- List tickets accepted, group by ticket owner. -- This report demonstrates the use of full-row display. SELECT p.value AS __color__, owner AS __group__, id AS ticket, summary, component, milestone, t.type AS type, time AS created, description AS _description_, changetime AS _changetime, reporter AS _reporter FROM ticket t LEFT JOIN enum p ON p.name = t.priority AND p.type = 'priority' WHERE status = 'accepted' ORDER BY owner, CAST(p.value AS integer), t.type, time