考试报名
考试报名
考试内容
考试大纲
在线客服
返回顶部

备考刷题,请到

CDA认证小程序

The following is an E-R diagram of transaction related tables for a company. Please answer the questions by observing the diagram: 产品表:products table 区域表:regions table 订单表:orders table 订单提成表:commissions table 赵大:Zhao Da 王二:Wang Er 孙三:Sun san Using the salesperson field in the commissions table to filter the order_amount field in the orders table, and aggregating using a SUM, the total order amount for Zhao Da should be:
A. 9000
B. 6000
C. 3000
D. 14000
上一题
下一题
收藏
点赞
评论
题目解析
题目评论(0)

The commissions and orders tables can be connected via the products table using a type 2 filtered calculation. Zhao Da sold 4 products: abcd, so the total order amount for those 4 products is 9000. Therefore A is the correct option.

正确答案是:A: 9000。

分析过程如下:

1. **查看订单提成表(commissions table)**:
- 赵大(Zhao Da)相关的记录有三条,分别是订单编号为 1、2 和 3。

2. **查看订单表(orders table)**:
- 订单编号为 1 的订单金额(order_amount)是 3000。
- 订单编号为 2 的订单金额(order_amount)是 4000。
- 订单编号为 3 的订单金额(order_amount)是 2000。

3. **计算总订单金额**:
- 将赵大相关的订单金额相加:3000 + 4000 + 2000 = 9000。

因此,赵大的总订单金额是 9000。