数据库
首页 > 数据库> > UReport2分页统计的sql语句

UReport2分页统计的sql语句

作者:互联网

SELECT *,( rownumber - 1 ) rownumber2 from (select *,CEIL( ( @rowNum := @rowNum + 1 ) / 3 ) AS rownumber,'' AS kk  from hl4pl_material_preparation_detail a,( SELECT @rowNum := 0 ) b where return_master_id=959) c

 

 

 

标签:语句,959,return,kk,rownumber,sql,rowNum,UReport2,SELECT
来源: https://blog.csdn.net/weixin_45507672/article/details/120219220