Options A and B are data tables that record information about consumer actions and the details of those actions, making them fact tables. Options C and D, on the other hand, contain dimensional information related to consumer actions and are typically considered dimension tables. Therefore, the correct answers are A and B.
正确答案是:A: Order table 和 B: Order details table。
专业分析如下:
在数据仓库和商业智能系统中,事实表(Fact Table)主要用于记录业务事件或事务的详细信息。事实表通常包含度量(Measures)和外键(Foreign Keys),这些外键连接到维度表(Dimension Tables),从而提供上下文信息。
A: Order table(订单表)和 B: Order details table(订单详情表)都属于事实表,因为它们记录了业务事务的具体信息。订单表通常记录每个订单的概要信息,如订单编号、客户ID、订单日期等。而订单详情表则记录每个订单中每个商品的详细信息,如商品ID、数量、单价等。
C: Customer table(客户表)和 D: Product table(产品表)则属于维度表。维度表用于存储描述性信息,如客户的姓名、地址,产品的名称、类别等。这些信息为事实表中的度量数据提供了上下文。
因此,A: Order table 和 B: Order details table 是事实表。