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. 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:

Verified
Correct Answer:
Verified
Q7: You can use a(n)_ to specify both
Q11: A BindingNavigator control displays table data in
Q20: Case-Based Critical Thinking Questions Case 1 -
Q20: The computer can retrieve data stored in
Q22: Case-Based Critical Thinking Questions Case 1 -
Q26: Writing LINQ Statements <br>The tblBicycle table contains
Q27: Writing LINQ Statements <br>The tblBicycle table contains
Q29: Writing LINQ Statements <br>The tblBicycle table contains
Q38: When you drag an object from a
Q49: A label,text box,or button can be added