🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: ����

#71
From: Galaxy��VOLUNTEERS��Database
Date: Tue, 11 Aug 2009 18:39
23 lines
1989 bytes
����ط���Ҫ��JOIN
���Dz�ѯorder by select��Ƕ�ײ�ѯ�Ƿ��MySQL���У�Ȼ��鵽����ƪ��
http://stackoverflow.com/questions/813495/mysql-order-by-select-possible

�� �� shengwu (webber) �Ĵ������ᵽ: ��
: ����
: MySQL ��ݿ⣬�� companies ������ name �� products.  products ��һ������ַ�
: ���������Ӵ���� ��
: prod1;prod2;prod3.  ����Ҫдһ��query, �Ѳ�Ʒ�ﺬ�� ABC ����Ĺ�˾�ҳ���������
: ���պ�ABC����IJ�Ʒ���ֵij�������
: Ʃ�磺
: company1, �������ƷΪ thisIsA;thisIsB��thisIsABC �������Ʒд��һ�У�
: company2�� ��������ƷΪ productA;productABC
: company3, �������ƷΪ onlyA;onlyB;onlyAB
: company4, ��������ƷΪ someABC;someA
: .................������ʡ�ԣ�

--
Welcome to Database Board
��ӭ������ݿ��
http://bbs.sjtu.edu.cn/bbsdoc?board=database

�� ��Դ:����ˮ˼Դ bbs.sjtu.edu.cn��[FROM: 207.46.55.30]
Technical Details
Message-ID: <4hMjUH$aSl@bbs.sjtu.edu.cn>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.straub-nv.de!news.shec6.edu.cn!SJTU

Show Full Headers
Complete Article Headers
X-Google-Thread: 4df683fd51,b5928521dead6b3d,start
X-Google-Attributes: gid4df683fd51,public,usenet
X-Google-NewGroupId: yes
X-Google-Language: Chinese,GB
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.straub-nv.de!news.shec6.edu.cn!SJTU
From: Dem.bbs@bbs.sjtu.edu.cn (Galaxy��VOLUNTEERS��Database)
Newsgroups: cn.bbs.comp.database
Subject: Re: ����
Date: 11 Aug 2009 18:39:33 GMT
Organization: ��ˮ˼Դ
Message-ID: <4hMjUH$aSl@bbs.sjtu.edu.cn>
Mime-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit
X-Filename: database/M.1250015921.A
Lines: 23