请上传宽度大于 1200px,高度大于 164px 的封面图片
    调整图片尺寸与位置
    滚轮可以放大缩小图片尺寸,按住图片拖动可调整位置,多余的会自动被裁剪掉
取消
用户sxjlx97327076(uid:631903)
职业资格认证:尚未取得认证
  • 日期month_date格式是202111,请问应该怎么写查询数据集sql取得上月的日期呢
  • 我想把当月和同期当月的数值在同一行显示,但是显示不出来去年当月的数值SELECT T1.month_id,T1.当月收入,T2.去年收入FROM(select month_id, nonoil_income as "当月收入" from ywgl_csrq where month_id between substr(current_date() , 1 ,4)||'01' and  translate(substr(current_date() , 1 ,7),'-','')) t1left join(select month_id, nonoil_income as "去年收入" from ywgl_csrq where month_id between substr(monthdelta(today(),-12), 1 ,4)||'01' and  translate(substr(monthdelta(today(),-12) , 1 ,7),'-','')) t2on t1.month_id = t2.month_id order by month_id
  • 是这里出问题了吗monthdelta(current_date(),-12)
  • 这个图表有三个表,我想在每一张表格中都设置一个字段轮播,请问应该怎么设置呢?
  • 请问这个序号可以去掉吗?
  • 我想在本月收入的后面增加一个同期收入但是数据库中并没有同期指标,仅有每个月的收入请问我应该怎么写呢这是现在的sqlselect month_id, nonoil_income as "当月收入" from ywgl_csrq_fy_hy where month_id between substr(current_date() , 1 ,4)||'01' and  translate(substr(current_date() , 1 ,7),'-','')
  • 这是本月的sql,那同期的应该怎么写呢?where calmonth = translate(substr(current_date() , 1 ,7 ),'-','')
  • 或者说在sql查询时加入单位万元SELECT sum(nonoil_income)/10000  as "收入" FROM app_csrq_fy_hy怎么加呢?
  • SELECT sum(nonoil_income)/10000  as "收入" FROM app_csrq_fy_hy
  • 数据库的日期格式是202101,现在想改成1月,请问应该怎么改呢?

149

3

149

10

个人成就
内容被浏览43,385
加入社区3年197天
返回顶部