Y
yyzyyz123
Unregistered / Unconfirmed
GUEST, unregistred user!
[yellow][/yellow]有一个数据表:字段为:XH(序号),BM(部门),NIAN(年),YUE(月),
ZB(洲别),LXZL(来信种类),LXSL(来信数量),GJDQ(国家地区)等几个字段
现在想按部门统计(1-12个月的来信数量以及全年的来信数量)放入另一个表中
(字段为BM(部门),1月来信数,2月来信数,3月来信数,4月来信数,5月来信数,6月来信数,7月来信数,
8月来信数,9月来信数,10月来信数,11月来信数,12月来信数,全年总和)
希望知道如何用DELPHI5的SQL语句如何实现,请说的详细一点,我是个初学者,拜托了!
谢谢!
ZB(洲别),LXZL(来信种类),LXSL(来信数量),GJDQ(国家地区)等几个字段
现在想按部门统计(1-12个月的来信数量以及全年的来信数量)放入另一个表中
(字段为BM(部门),1月来信数,2月来信数,3月来信数,4月来信数,5月来信数,6月来信数,7月来信数,
8月来信数,9月来信数,10月来信数,11月来信数,12月来信数,全年总和)
希望知道如何用DELPHI5的SQL语句如何实现,请说的详细一点,我是个初学者,拜托了!
谢谢!