回答:https://bbs.fanruan.com/wenda/question/37650.html
回答:看看你的CASEwhen 是不是还有除了你这些条件的数据
回答:https://help.fanruan.com/finereport/doc-view-3229.html?source=1
回答:group by 那个别名看看可以吗
回答:https://help.fanruan.com/finereport/doc-view-3478.html
回答:WorkBook80.zipselect a.*,b.name from table a inner join table b on a.num =b.num 但是看了一下你这两个num也没有一样的啊该成默认的
回答:select t.month,t.amount -t.amount2 from (select t.month, t.amount, IF(t1.amount is null ,0,t1.amount)amount2 from (SELECT id month, SUM(cnt) amountFROM exam_testWHERE year = '2020' GROUP BY month)tLEFT JOIN(SELECT id+1 month, SUM(cnt) amountFROM exam_testWHERE year = '2020' and id<='11'GROUP BY month)t1on t.month =t1.month)t
回答:看看是不是父格设置的问题
回答:sql 计算每个月总和,select sum(字段)as 字段 from 表名 group by substr(日期,1,7)
回答:日期控件控件属性那里勾选上允许直接编辑
59
59
78
10