SELECT Customer,SUM(OrderPrice) FROM Orders
WHERE Customer='Bush' OR Customer='Adams'
GROUP BY Customer
HAVING SUM(OrderPrice)>1500
Select sum(downloads) as download from factdownloads_new
where date_time='2013-12-11' and storename='anzhi'
结果:359544370