为BI分析用,KSQL语法:
Select top 6 fid,fnumber as FNumber from t_bd_period where
(fperiodyear*100+fperiodnumber)<=year(now())*100+month(now()) order by fnumber desc
注意EAS会计期间可能会有多个期间类型,以上是按照一个期间类型做的。
为BI分析用,KSQL语法:
Select top 6 fid,fnumber as FNumber from t_bd_period where
(fperiodyear*100+fperiodnumber)<=year(now())*100+month(now()) order by fnumber desc
注意EAS会计期间可能会有多个期间类型,以上是按照一个期间类型做的。