oracle 如何在group by 的語句中使用rownum,實現分頁

貼出來一個demo供你們參考spa SELECT rownum, a.* from( select shopid as shopId,shopname as shopName,sum(orderqty) as orderNum from pmadw.dm_order_info  where   orderdate >= to_date('2016-05-06', 'yyyy-MM-dd')  an
相關文章
相關標籤/搜索