InternalError: (1052, u"Column 'description' in field list is ambiguous")
SELECT COUNT(*) FROM (
SELECT p.value AS __color__,
id AS ticket, summary AS 概要, component AS コンポーネント,
version AS バージョン, milestone AS マイルストーン, t.type AS 分類,
owner AS 担当者, status AS ステータス, time AS 登録日付,
changetime AS _更新日付, description AS _説明,
reporter AS _報告者
FROM ticket t
LEFT JOIN enum p ON p.name = t.priority AND p.type = 'priority'
WHERE status <> 'closed'
ORDER BY CAST(p.value AS signed), milestone, t.type, time
) AS tab
Note:
See TracReports
for help on using and creating reports.