📜  在 jira 数据库上获取类型任务 12 个月的 sql 脚本 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:20.444000             🧑  作者: Mango

代码示例1
SELECT p.pkey, it.pname, COUNT(i.id) FROM jiraissue i INNER JOIN project p ON i.project = p.id INNER JOIN issuetype it ON it.id = i.issuetype GROUP BY (p.id, it.id) ORDER BY p.pkey, count DESC;