🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cn.bbs.comp.database
Article #381

Re: ��������һ��SQL����ִ��˳��

#381
From: fwb
Date: Tue, 17 Mar 2009 06:52
17 lines
1766 bytes
SELECT count(*) FROM album a limit 10;

�� �� yoursunny (�������yoursunny.com) �Ĵ������ᵽ: ��
: Transact-SQL �ο�  SELECT �Ӿ�
: TOP n [PERCENT]
: ָ��ֻ�Ӳ�ѯ��������ǰ n �С�n �ǽ��� 0 �� 4294967295 ֮����������
: ָ���� PERCENT����ֻ�ӽ�������ǰ�ٷ�֮ n �С���ָ��ʱ�� PERCENT ʱ��n ��
: ���ǽ��� 0 �� 100 ֮�������
: ����ѯ�� ORDER BY �Ӿ䣬������� ORDER BY �Ӿ������ǰ n �У���ǰ�ٷ�֮ 
: n �У�������ѯû�� ORDER BY �Ӿ䣬�е�˳�����⡣
: TOP��SQL SERVER��д������Ȼ����ORDER BY��TOP����
: MySQL��LIMIT��Ҳ����ORDER BY��LIMIT��
: ���ǣ�
: .................������ʡ�ԣ�
--

�� ��Դ:����ˮ˼Դ bbs.sjtu.edu.cn��[FROM: 211.99.222.55]
Technical Details
Message-ID: <4f3YZO$bGW@bbs.sjtu.edu.cn>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!news.cn99.com!news.shec6.edu.cn!SJTU

Show Full Headers
Complete Article Headers
X-Google-Thread: 101948,b22b2f5ef9a6d430
X-Google-Attributes: gid101948,domainid0,public,usenet
X-Google-Language: Chinese,GB
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!news.cn99.com!news.shec6.edu.cn!SJTU
From: fwb.bbs@bbs.sjtu.edu.cn (fwb)
Newsgroups: cn.bbs.comp.database
Subject: Re: ��������һ��SQL����ִ��˳��
Date: 17 Mar 2009 06:52:37 GMT
Organization: ��ˮ˼Դ
Message-ID: <4f3YZO$bGW@bbs.sjtu.edu.cn>
Mime-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit
X-Filename: database/M.1237272744.A
Lines: 17