怎么样让两个表的求和,同时显示出来 select id,money,pubdate,user from aunion allselect id,money,pubdate,user from bwhere pubdate between 起始时间 and 结束时间 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select sum(money) as a from aunion allselect sum(money) as a from bwhere pubdate between 起始时间 and 结束时间; mysql怎样批量插入数据? MySql安装(在线中) 存储过程的问题 访问防火墙内服务器上的mysql数据库 求一条MYSQL查询语句 如何才能更快的优化sql--select--in的速度 求助:数据库表导出文本文件的问题? 郁闷!mysql小问题急死人啊! mysql 启动后,mysql 服务器的名称是什么? 有关mysql4.0中事务处理的问题以及字符集问题 请教mysql高手!! 帮忙看看下面的SQL语句怎么转换成连接查询,谢谢!急用,在线等
union all
select sum(money) as a from b
where pubdate between 起始时间 and 结束时间;