Solved

Case-Based Critical Thinking Questions Case 1 - MaidToOrder

Question 56

Multiple Choice

Case-Based Critical Thinking Questions Case 1 - MaidToOrder
The database for a cleaning service company contains the following table, named tblCustomer, that includes customer invoice data. The InvoiceNum, CustomerNum, and InvoicePaid fields contain text. The InvoiceDate field contains dates. The InvoiceAmt field contains numbers.
Case-Based Critical Thinking Questions Case 1 - MaidToOrder The database for a cleaning service company contains the following table, named tblCustomer, that includes customer invoice data. The InvoiceNum, CustomerNum, and InvoicePaid fields contain text. The InvoiceDate field contains dates. The InvoiceAmt field contains numbers.   Which of the following statements will calculate a total for all of the unpaid invoices? A)  Dim decTotalUnpaid = Aggregate customer In CustomerDataSet.tblCustomer Select customer.InvoicePaid Into Sum()  B)  Dim decTotalUnpaid = Aggregate customer In CustomerDataSet.tblCustomer Select customer.InvoiceAmt Into Sum()  C)  Dim decTotalUnpaid = Aggregate customer In CustomerDataSet.tblCustomer Where customer.InvoicePaid.ToUpper =  N  Select customer.InvoiceAmt Into Average()  D)  Dim decTotalUnpaid = Aggregate customer In CustomerDataSet.tblCustomer Where customer.InvoicePaid.ToUpper =  N  Select customer.InvoiceAmt Into Sum() Which of the following statements will calculate a total for all of the unpaid invoices?


A) Dim decTotalUnpaid = Aggregate customer In CustomerDataSet.tblCustomer
Select customer.InvoicePaid Into Sum()
B) Dim decTotalUnpaid = Aggregate customer In CustomerDataSet.tblCustomer
Select customer.InvoiceAmt Into Sum()
C) Dim decTotalUnpaid = Aggregate customer In CustomerDataSet.tblCustomer
Where customer.InvoicePaid.ToUpper = "N"
Select customer.InvoiceAmt Into Average()
D) Dim decTotalUnpaid = Aggregate customer In CustomerDataSet.tblCustomer
Where customer.InvoicePaid.ToUpper = "N"
Select customer.InvoiceAmt Into Sum()

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