Solved

Examine the Sale and Cash Receipt Relational Tables and the Corresponding

Question 32

Multiple Choice

Examine the Sale and Cash Receipt relational tables and the corresponding query solution below. Which of the following SQL query statements applied to those tables will result in the depicted solution?


A) SELECT CustomerID, Sum(Amount) FROM Sale;
B) SELECT CustomerID, Sum(Amount) FROM Sale GROUP BY CustomerID;
C) SELECT CustomerID, AmountFROM Sale;
D) SELECT CustomerID, Sum(Amount) FROM SaleWHERE CustomerID unique;
E) SELECT CustomerID, AmountFROM Sale GROUP BY Amount;

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents