我正在尝试创建 sql 语句以显示每月在项目上花费的总时间,有人可以帮我查询 sql
SELECT Projects.projectID,
Projects.projectName,
billingsTimes.actualTotalTime,
billingsTimes.taskID,
Tasks.taskName
FROM Projects_tasks
INNER JOIN Projects ON Projects_tasks.projectID = Projects.projectID
INNER JOIN Tasks ON Projects_tasks.taskID = Tasks.taskID
INNER JOIN billingsTimes ON Tasks.taskID = billingsTimes.taskID
数据库图