<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<!-- saved from url=(0047)http://database.ctocio.com.cn/236/9359236.shtml -->
<HTML xmlns="http://www.w3.org/1999/xhtml"><HEAD><TITLE>Mysql中limit的用法详解_数据库子站_IT专家网</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META
content="Mysql中limit的用法:在我们使用查询语句的时候,经常要返回前几条或者中间某几行数据,这个时候怎么办呢?不用担心,mysql已经为我们提供了这样一个功能 Mysql中limit的用法详解"
name=description>
<META content=Mysql,limit,技巧 name=keywords><LINK title=ice
href="613_you.files/ice.css" type=text/css rel=stylesheet>
<SCRIPT src="613_you.files/function.js" type=text/javascript></SCRIPT>
<!--[if lte IE 6]>
<STYLE type=text/css>BODY {
BACKGROUND: #c8d0d4
}
</STYLE>
<![endif]-->
<SCRIPT language=JavaScript>
var atitle = "Mysql中limit的用法详解";
</SCRIPT>
<META content="MSHTML 6.00.2900.6104" name=GENERATOR></HEAD>
<BODY id=story><!-- 9174 -->
<DIV id=wrap>
<DIV id=top><SPAN id=top_left><SPAN class=login>您还没有登录!</SPAN><B>[ <A
href="http://check.ctocio.com.cn/ctocio/login.jsp" target=_self
name=login>登录</A> ][ <A href="http://check.ctocio.com.cn/ctocio/registerAll.jsp"
target=_blank name=register>注册</A> ] </B></SPAN><SPAN class=top_right>天极传媒:比特网 |
天极网 | IT专家网 | 52PK游戏网 | 手机天极 | IT分众 |
<SCRIPT>document.write(siterss);</SCRIPT>
</SPAN></DIV>
<DIV class=maintop></DIV>
<DIV class=main id=l>
<DIV class=logo><A href="http://database.ctocio.com.cn/"><IMG height=88 alt=""
src="613_you.files/logo.png" width=167 border=0></A></DIV>
<DIV class=leaderboard id=__ad2>
<DIV id=ad1>
<DIV class=adv_cc_wenzhang_column1 advid="149922_1">
<SCRIPT language=JavaScript src="613_you.files/s.htm"></SCRIPT>
</DIV></DIV></DIV>
<DIV class=clear></DIV></DIV>
<DIV class=main id=l0><!-- 导航 topnav -->
<DIV class=topnav>
<UL>
<LI id=n_home><A href="http://www.ctocio.com.cn/">首页</A> </LI>
<LI class=on id=site></LI>
<LI id=more><A href="http://database.ctocio.com.cn/"><SPAN
style="FONT-FAMILY: wingdings 3"><IMG height=14 alt=""
src="613_you.files/down.gif" width=14 border=0> </SPAN><!--[if IE 7]><!--></a><!--<![endif]--><!--[if IE 8]><!--></a><!--<![endif]--><!--[if lte IE 6]>
<TABLE>
<TBODY>
<TR>
<TD><![endif]-->
<UL>
<LI>
<DIV>基础架构 :</DIV><A href="http://server.ctocio.com.cn/">服务器</A> <A
href="http://storage.ctocio.com.cn/">存储</A> <A
href="http://datacenter.ctocio.com.cn/">数据中心</A> <A
href="http://virtualization.ctocio.com.cn/">虚拟化</A> </LI>
<LI>
<DIV>软件:</DIV><A href="http://soa.ctocio.com.cn/">SOA</A> <A
href="http://esoft.ctocio.com.cn/">管理软件</A> <A
href="http://database.ctocio.com.cn/">数据库</A> <A
href="http://develop.ctocio.com.cn/">开发平台</A> </LI>
<LI>
<DIV>网络与安全: </DIV><A href="http://networking.ctocio.com.cn/">网络通信</A>
<A href="http://security.ctocio.com.cn/">安全</A> </LI>
<LI>
<DIV>操作系统:</DIV><A
href="http://winsystem.ctocio.com.cn/">WinSystem</A> <A
href="http://linux.ctocio.com.cn/">Linux</A> <A
href="http://unix.ctocio.com.cn/">Unix</A> </LI>
<LI>
<DIV>信息化: </DIV><A href="http://cio.ctocio.com.cn/">CIO</A> <A
href="http://smallbizit.ctocio.com.cn/">中小企业IT</A> </LI></UL><!--[if lte IE 6]></TD></TR></TBODY></TABLE></A><![endif]--></LI>
<LI id=n_news><A href="http://news.ctocio.com.cn/">新闻</A> </LI>
<LI><A href="http://www.ctocio.com.cn/cloud/">云计算</A> </LI>
<LI><A href="http://virtualization.ctocio.com.cn/zhuanqu/">虚拟化</A></LI>
<LI id=n_whitepaper><A href="http://whitepaper.ctocio.com.cn/">白皮书</A></LI>
<LI id=n_askexpert><A href="http://askexpert.ctocio.com.cn/">专家库</A></LI>
<LI id=n_features><A href="http://www.ctocio.com.cn/features/">专题</A></LI>
<LI id=n_qa><A href="http://www.ctocio.com.cn/qa/">QA烧烤坊</A></LI>
<LI id=n_webcast><A href="http://webcast.ctocio.com.cn/">视频</A></LI>
<LI id=n_bbs><A href="http://bbs.ctocio.com.cn/">社区</A></LI>
<LI id=n_whatis><A href="http://whatis.ctocio.com.cn/">Whatis</A> <!-- <li id="n_focus"><a href="http://www.ctocio.com.cn/focus/">焦点推荐</a></li> --></LI>
<LI class=nav_r><A
style="BACKGROUND: none transparent scroll repeat 0% 0%; COLOR: #5e2708"
href="http://check.ctocio.com.cn/ctocio/login.jsp">[登陆]</A> <A
style="BACKGROUND: none transparent scroll repeat 0% 0%; COLOR: #5e2708"
href="http://check.ctocio.com.cn/ctocio/registerAll.jsp">[注册]</A><!--
<input type="Submit" value="注册" class="searchbutton" onclick="window.open('http://check.ctocio.com.cn/ctocio/registerAll.jsp');" border="0" style="_border-left:10px;width:80px;" /> -->
</LI></UL>
<DIV class=bar>
<DIV class=subnav id=__subnav><A
href="http://database.ctocio.com.cn/Oracle/">Oracle</A> | <A
href="http://database.ctocio.com.cn/sqlserver/">Sql Server</A> | <A
href="http://database.ctocio.com.cn/DB2/">DB2</A> | <A
href="http://database.ctocio.com.cn/mysql/">Mysql</A> | <A
href="http://database.ctocio.com.cn/sybase/">Sybase</A> | <A
href="http://database.ctocio.com.cn/ttw_database_other">其它数据库</A> | <A
href="http://database.ctocio.com.cn/cc_zjdy">专家答疑</A> | <A
href="http://database.ctocio.com.cn/cc_zjzl">专家专栏</A> | <A
href="http://database.ctocio.com.cn/hotstory">深度分析</A> | <A
href="ttp://database.ctocio.com.cn/cc_bps">白皮书</A> </DIV>
<DIV class=searchBox id=__search>
<FORM id=searchbox_006431706705204708706:pdaaf3ianwa name=f
action=http://search.ctocio.com.cn/search.html method=get>
<DIV><INPUT type=hidden value=006431706705204708706:pdaaf3ianwa name=cx> <INPUT
type=hidden value=FORID:11 name=cof> <INPUT type=hidden value=GB2312 name=ie>
<INPUT type=hidden value=GB2312 name=oe> <INPUT type=hidden value=zh-CN name=hl>
<DIV class=intelligent><INPUT class=searchinput onmouseover=this.focus()
onfocus=this.select() size=55 name=q> <INPUT class=searchbutton type=submit value="搜 索" border=0>
</DIV></DIV></FORM></DIV></DIV></DIV><!-- 导航 topnav end -->
<DIV class=guild id=__xzwz><STRONG>您现在的位置: </STRONG><A
href="http://www.ctocio.com.cn/" target=_self>IT专家网</A> > <A
href="http://database.ctocio.com.cn/" target=_self>数据库子站</A> </DIV><!-- 导航 guild end --></DIV><!-- laver 1 -->
<DIV class=main id=l1>
<DIV id=contents>
<DIV id=col1>
<H1>Mysql中limit的用法详解</H1>
<DIV class=dots>作者: 52database, 出处:IT专家网论坛, 责任编辑: 陈子琪,
<DIV class=posted>2010-01-19 07:00</DIV></DIV>
<H5
id=digest> Mysql中limit的用法:在我们使用查询语句的时候,经常要返回前几条或者中间某几行数据,这个时候怎么办呢?不用担心,mysql已经为我们提供了这样一个功能</H5>
<DIV id=content>
<DIV class=guanggao><SPAN id=contentAdv><!-- Error --></SPAN></DIV>
<P> Mysql中limit的用法:在我们使用查询语句的时候,经常要返回前几条或者中间某几行数据,这个时候怎么办呢?不用担心,mysql已经为我们提供了这样一个功能。</P>
<P>
<TABLE
style="BORDER-RIGHT: #cccccc 1px dotted; TABLE-LAYOUT: fixed; BORDER-TOP: #cccccc 1px dotted; BORDER-LEFT: #cccccc 1px dotted; BORDER-BOTTOM: #cccccc 1px dotted"
cellSpacing=0 cellPadding=6 width="95%" align=center border=0>
<TBODY>
<TR>
<TD style="WORD-WRAP: break-word" bgColor=#f3f3f3><FONT
style="FONT-WEIGHT: bold; COLOR: #990000"></FONT><BR> SELECT * FROM table LIMIT [offset,] rows | rows OFFSET offset</TD></TR></TBODY></TABLE></P>
<P> LIMIT 子句可以被用于强制 SELECT 语句返回指定的记录数。LIMIT
接受一个或两个数字参数。参数必须是一个整数常量。如果给定两个参数,第一个参数指定第一个返回记录行的偏移量,第二个参数指定返回记录行的最大数目。初始记录行的
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
关于sqlite使用limit的一些详细说明 (106个子文件)
grid.css 34KB
ice.css 32KB
ice.css 32KB
ice.css 32KB
art_master_top.css 7KB
1733340.gif 26KB
152114686.gif 4KB
tmg.gif 2KB
tmg.gif 2KB
tmg.gif 2KB
145820640.gif 977B
shujuku_logo.gif 879B
dingy.gif 876B
Fav.gif 774B
zhuce.gif 664B
zhuce.gif 664B
zhuce.gif 664B
top_bg_xian.gif 390B
down.gif 346B
down.gif 346B
down.gif 346B
top_shequ.gif 340B
search.gif 337B
sina.gif 265B
nav_ico1.gif 49B
MySQL limit实际用法的详细解析 - 51CTO_COM.htm 39KB
Mysql中limit的用法详解_数据库子站_IT专家网.htm 28KB
Mysql中limit的用法详解_数据库子站_IT专家网11.htm 26KB
bbs.ctocio.com.htm 23KB
bbs.ctocio.com.htm 23KB
bbs.ctocio.com.htm 23KB
fb_words_list.htm 15KB
nomal_k.htm 2KB
9.htm 1KB
authart.htm 885B
s.htm 416B
s.htm 416B
s.htm 416B
index.htm 407B
getArtCount.htm 20B
artcomment1105.htm 3B
count.htm 0B
613_you.html 28KB
152218698.jpg 33KB
195816929.jpg 27KB
095352982.jpg 26KB
adview.jpg 23KB
172532915.jpg 20KB
131726388.jpg 17KB
133620622.jpg 17KB
173035869.jpg 16KB
110126616.jpg 14KB
162642152.jpg 13KB
162642654.jpg 12KB
8FN3IJ9D2Q0B_0.jpg 5KB
8FN3IJ9D2Q0B_0.jpg 5KB
8FN3IJ9D2Q0B_0.jpg 5KB
123123954.jpg 4KB
134217922.jpg 3KB
bq1.jpg 2KB
bq4.jpg 2KB
bq3.jpg 2KB
bq6.jpg 2KB
bq2.jpg 2KB
bq5.jpg 2KB
rr.jpg 612B
kx.jpg 532B
function.js 24KB
function.js 24KB
function.js 24KB
jia.js 14KB
jia.js 14KB
jia.js 14KB
favorite.js 11KB
clipboard.js 10KB
dialog_utf8.js 9KB
o_code.js 7KB
o_code.js 7KB
o_code.js 7KB
base_art.js 5KB
favorbox.js 5KB
count.js 4KB
web-utils.js 4KB
web-utils.js 4KB
web-utils.js 4KB
index_1_down.js 2KB
mail.js 1KB
head_art_more1.js 1KB
wordlink2.js 617B
wordlink4.js 617B
wordlink3.js 617B
wordlink1.js 617B
ad(2).js 402B
ad(1).js 148B
ad.js 144B
copy_right.js 115B
adx.js 70B
pv.js 0B
keywords_ad_new.js 0B
pv.js 0B
共 106 条
- 1
- 2
mmzhij
- 粉丝: 5
- 资源: 48
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
- 3
前往页