求简单SQL语句,在线等 Select 零件,sum(数量),count(*) as 批次总数from 表 where 日期 between '2003-8-1' and '2003-8-31'group by 零件 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 Select 零件,sum(数量),count(*) as 批次总数from 表 where 日期 between '2003-08-1' and '2003-08-31'group by 零件 Select 零件,sum(数量) as 总数,count(*) as 批次总数from table where 日期 between '2003-8-1' and '2003-8-31'group by 零件 在SQL语句中,能把一个字段中的数据,半角转换成全角麽? 关于时间的问题??? 我想写个存储过程,谢谢大家,请帮忙~ sql2005发布订阅 sql server 数据库查询 找出唯一记录? 数据库中的应用程序角色的使用 我在SQL2000下开发的ASP用到了数据库,在SQL7下如何附加上? 难题,求教~~海量数据问题!! 高手请进-----数据库查询的效率问题 关于数据库自动备份的怪问题。 关于外键的关系问题,求助!
from 表
where 日期 between '2003-08-1' and '2003-08-31'
group by 零件
from table
where 日期 between '2003-8-1' and '2003-8-31'
group by 零件