AVG_ORDER_AMT, where the middle column is the total number of orders by the customer and the last column is the average order amount for that customer. CNAME COUNT(*) AVG GHI 2 1750 MNO 1 10000 ABC 1 5000 DEF 1 5000.5 Ans. 1. select C.Cname, count(*) as NO_OF_ORDERS, avg(O.Order_Amt) as AVG_ORDER_AMT 2. from customer C, orders O 3. where (C.Cust# = O.Cust#) group by Cname;
THE STEP BY STEP GUIDE FOR SUCCESSFUL IMPLEMENTATION OF DATA LAKE-LAKEHOUSE-DATA WAREHOUSE: "THE STEP BY STEP GUIDE FOR SUCCESSFUL IMPLEMENTATION OF DATA LAKE-LAKEHOUSE-DATA WAREHOUSE"
DATABASE From the conceptual model to the final application in Access, Visual Basic, Pascal, Html and Php: Inside, examples of applications created with Access, Visual Studio, Lazarus and Wamp