怎么获取Lambda表达式执行的Sql语句
2017-07-21
展开全部
--根据receipt_date 进行 降序编号 然后取 500-600
SELECT * FROM( SELECT ROW_NUMBER() OVER(ORDER by receipt_date)rn,* FROM pureceipt)p where p.rn BETWEEN 500 AND 600
SELECT * FROM( SELECT ROW_NUMBER() OVER(ORDER by receipt_date)rn,* FROM pureceipt)p where p.rn BETWEEN 500 AND 600
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询