急~~高手快来,一个表求和 select 年,月,日,消费人,消费地点,sum(消费金额)from tablegroup by 年,月,日,消费人,消费地点 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select 消费金额 from 消费表 where 日期='2003-6-1' and 消费者='A' and 消费地点='广西'"我要分 select 年,月,日,消费人,消费地点,sum(消费金额) 消费总金额 from 表 group by 年,月,日,消费人,消费地点 select sum(消费金额) 消费总金额 from 表 where 年=2003 and 月=5 and 日=30 and 消费人='A' and 消费地点=456 select 年,月,日,消费人,消费地点,sum(消费金额)from tablegroup by 年,月,日,消费人,消费地点select sum(消费金额) from 表 where 年=2003 and 月=5 and 日=30 and 消费人='A' and 消费地点=456 select sum(消费金额) 消费总金额 from 表 where 年=2003 and 月=5 and 日=30 and 消费人='A' and 消费地点=456 需要一个相减的SQL sql2008创建用户权限问题????在线等。。。。。。。。 插入数据问题 请问,如何在主key冲突的时候,成功导入其他数据 如何根据指定的级次进行汇总 一条很难的sql语句,望各位高手指点!! 急 在线等待!,高手请进!SQL问题 求一关于赋值的sql语句写法 concat 与 || 在sql怎么表达 按表a条件合并表a和表b的存储过程-update 急:建触发器后表数据丢失问题 黄金问题
我要分
from table
group by 年,月,日,消费人,消费地点select sum(消费金额)
from 表
where 年=2003 and 月=5 and 日=30 and 消费人='A' and 消费地点=456
where 年=2003 and 月=5 and 日=30 and 消费人='A' and 消费地点=456