Sqlserver 分页

 

        String sql = "select * from(SELECT [id] ,[name],[price] ,[addDate],[state],[picture],ROW_NUMBER() over(order by id desc) row FROM [Product]) t where t.row>=? and t.row<=?";
posted @ 2019-07-19 13:43  A汉克先生  阅读(2058)  评论(0编辑  收藏  举报