🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: ����:)

#1232
From: Galaxy��VOLUNTEERS
Date: Tue, 25 Dec 2007 15:44
20 lines
1948 bytes
ʹ����cursor���������û�б�Ҫ����stored procedure��������
�����ƺ����ı����Ͽ��������ڵľ�󲿷ֲ�ѯ�����Բ���cursor������ˡ�
������ⲻ֪���Ƚ�һ��temp table��column1��column2��select distinct ������
Ȼ����count(*)+where�ó�column3�Ƿ����
�� �� thatnight (��һҹ) �Ĵ������ᵽ: ��
: ���ķ������� ��������1��2�� û������1����ʲô��˼?Ϊʲôд��ô��..
: ===========================================================
: [�ظ�����] ������: loveappleJ(loveapple), ����: database
: ��  ��: �������SQL�������⣡лл
: ����վ: ��ˮ˼Դ (2007��08��20��14:56:22 ����һ)
: column1   column2   column3
:   A          A         ada
:   A          A         fsdf
:   A          A         qw
:   A          B         vc
: .................������ʡ�ԣ�

--

�� ��Դ:����ˮ˼Դ bbs.sjtu.edu.cn��[FROM: 59.78.51.51]
Technical Details
Message-ID: <4Xc0PJ$bug@bbs.sjtu.edu.cn>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news.bbh.net.cn!bbsnews.sdu.edu.cn!SJTUBBS

Show Full Headers
Complete Article Headers
X-Google-Thread: 101948,6a1efa42e787c06,start
X-Google-Attributes: gid101948,public,usenet
X-Google-Language: Chinese,GB
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news.bbh.net.cn!bbsnews.sdu.edu.cn!SJTUBBS
From: Dem.bbs@bbs.sjtu.edu.cn (Galaxy��VOLUNTEERS)
Newsgroups: cn.bbs.comp.database
Subject: Re: ����:)
Date: 25 Dec 2007 15:44:53 GMT
Organization: ��ˮ˼Դ
Message-ID: <4Xc0PJ$bug@bbs.sjtu.edu.cn>
Mime-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit
X-Filename: database/M.1198597315.A
Lines: 19
X-Original-Bytes: 1319