码迷,mamicode.com
首页 > 数据库 > 详细

sql语句

时间:2016-05-10 12:32:24      阅读:155      评论:0      收藏:0      [点我收藏+]

标签:

select * from  ( select bl.*,tc.TypeclassName, row_number() over(order by @@servername) as rownum from blogger as bl inner join Typeclass as tc on bl.bloggerid=tc.Typeclassid)a where rownum between 2 and 4

 

 

查询2到4条语句

sql语句

标签:

原文地址:http://www.cnblogs.com/chengyuanbo/p/5477253.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!