Professional Documents
Culture Documents
Primera Opci n
FROM Customers C
GROUP BY C.ContactName) R
SUM(Quantity) Total
FROM Customers C
GROUP BY C.ContactName) R )
-----------------------------------
from Customer_Total
FROM Customers C
GROUP BY C.ContactName
Create view Customer_Total as
FROM Customers C
GROUP BY C.ContactName
on OD.CustomerID = C.CustomerID
/*Ejercicio 30
GROUP BY ShipperName) R
Quantity
S.ShipperID = O.ShipVia
GROUP BY ShipperName) R );
FROM Shipper_TotalOrder
GROUP BY CompanyName