首页 > 数据库技术 > 详细

不同的数据库页的摘要

时间:2015-07-20 21:18:05      阅读:196      评论:0      收藏:0      [点我收藏+]

主流总结下MYSQL。sqlSever 和oracle寻呼代码数据库。如下面:

MySQL:select * from  TableName where …… limit start_th , count_num;  
SqlSever:select top count_num  from TableName where id not in (select top count_num from TableName  where ……)。
Oracle:select t2.* from (select t1.* ,rownum rn from (select * from TabbleName where ……) t1 where rownum <=endline ) t2 where t2.rn>=start_line;
oracle 的条件筛选都放在最内层进行第一层筛选。剔除末尾的(第二层),剔除头部的(第三层)技术分享
供你参考!

版权声明:本文博客原创文章。博客,未经同意,不得转载。

不同的数据库页的摘要

原文:http://www.cnblogs.com/hrhguanli/p/4662523.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!