MB6-890 · Question #90
You have two tables: CustTable and CustTrans. CustTrans has a foreign key relation with CustTable on the "AccountNum" field. Multiple CustTrans records refer to a single CustTable record. Each…
The correct answer is A. CustTable custTable. See the full explanation below for the reasoning.
Question
You have two tables: CustTable and CustTrans. CustTrans has a foreign key relation with CustTable on the "AccountNum" field. Multiple CustTrans records refer to a single CustTable record. Each CustTrans record can refer to a single CustTable record. You want to write code to display records of customers and their corresponding transactions. You need to display the following fields:
AccountNum from CustTable table CustGroup from CustTable table AmountCur from CustTrans table Finally, you want to select only the approved transactions. An approved transaction is a CustTrans record where the value of the Approved field is NoYes::Yes. You need to choose the data that meets these requirements. Which select statement should you use?
Options
- ACustTable custTable;
- BCustTable custTable;
- CCustTable custTable;
- DCustTable custTable;
How the community answered
(26 responses)- A77% (20)
- B12% (3)
- C4% (1)
- D8% (2)
Community Discussion
No community discussion yet for this question.