You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
大佬,如何做goup by之后再分页?目前将group和page两个混用时,生成的sql会是这样:
select a,b,c,rownum as 'rownum' from t where...group by a,b,c。这时group by会出错,因为有一个rownum列没包含进去。如果手动补上的话,原本想要的group by也有失去了意义(因为每行的rownum肯定是不一样的)
大佬,如何做goup by之后再分页?目前将group和page两个混用时,生成的sql会是这样:
select a,b,c,rownum as 'rownum' from t where...group by a,b,c。这时group by会出错,因为有一个rownum列没包含进去。如果手动补上的话,原本想要的group by也有失去了意义(因为每行的rownum肯定是不一样的)
issues里还有另外两个同类问题,但都是使用的sqlserver,所以没有参考性
达梦数据库生成的列长这样:
The text was updated successfully, but these errors were encountered: