有订单表Orders,它的数据如下图所示。计算每个客户的订单总额,正确的是()
A.
SELECT ID, Count(OrderAmount) from Orders Group by ID
B.
SELECT ID, sum(OrderAmount) from Orders Group by ID
C.
SELECT ID, Sum(OrderAmount) from Orders
D.
SELECT OrderDate , ID, Sum(OrderAmount) from Orders Group by ID