🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: ��ô��spl���ƶ�ƽ��

#173
From: Galaxy��VOLUNTEERS��Database
Date: Fri, 17 Jul 2009 07:40
27 lines
1713 bytes
�����������������

��ǰ����һ���?
http://bbs.sjtu.edu.cn/file/database/124781641449192.jpg
Ȼ��ʹ�����²�ѯ��
SELECT ID, Price, (Select sum(Price) from Table1 where ID between b.ID and 
b.ID-4)/ iif(ID>5,5,ID) AS MovingAvg
FROM Table1 AS b;

������£�
http://bbs.sjtu.edu.cn/file/database/124781643649390.jpg 

 �� �� Cissnei (СC�Ů���ʹ��Smiling 
Flying~) �Ĵ������ᵽ: ��: -��=b
: �Һ���...������~~
: �� �� Programmer (12) �Ĵ������ᵽ: ��
: : ���ϲο��ܶ�
: : http://www.access-programmers.co.uk/forums/showthread.php?t=37137
: : http://support.microsoft.com/default.aspx?scid=kb;en-us;Q143237


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

�� ��Դ:����ˮ˼Դ bbs.sjtu.edu.cn��[FROM: 207.46.55.27]
Technical Details
Message-ID: <4h32jT$bCh@bbs.sjtu.edu.cn>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.neu.edu.cn!news.shec6.edu.cn!SJTU

Show Full Headers
Complete Article Headers
X-Google-Thread: 4df683fd51,cd44c281e07e426b,start
X-Google-Attributes: gid4df683fd51,public,usenet
X-Google-NewGroupId: yes
X-Google-Language: Chinese,GB
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.neu.edu.cn!news.shec6.edu.cn!SJTU
From: Dem.bbs@bbs.sjtu.edu.cn (Galaxy��VOLUNTEERS��Database)
Newsgroups: cn.bbs.comp.database
Subject: Re: ��ô��spl���ƶ�ƽ��
Date: 17 Jul 2009 07:40:45 GMT
Organization: ��ˮ˼Դ
Message-ID: <4h32jT$bCh@bbs.sjtu.edu.cn>
Mime-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit
X-Filename: database/M.1247816333.A
Lines: 26