午夜精品久久久久久久99老熟妇,天堂中文www官网,未满十八18勿进黄网站,太粗太深了太紧太爽了,天天爽夜夜爽夜夜爽

考試報(bào)名
考試報(bào)名
考試內(nèi)容
考試大綱
在線客服
返回頂部

備考刷題,請到

CDA認(rèn)證小程序

The figure shows a company's sales data table, product table, and category table. Please answer the following question: The product table is left joined with the category table. What is the corresponding relationship?
A. One-to-one
B. One-to-many
C. Many-to-many
D. Many-to-one
上一題
下一題
收藏
點(diǎn)贊
評論
題目解析
題目評論(0)

The common field between the product table and the category table is the category ID. The product table has many records for each category, while the category table has only one record for each category.

正確答案是:D: 多對一(Many-to-one)。

專業(yè)分析:

1. **表結(jié)構(gòu)**:
- **銷售數(shù)據(jù)表(Sales Data Table)**:包含銷售記錄的詳細(xì)信息,例如銷售ID、產(chǎn)品ID、銷售數(shù)量等。
- **產(chǎn)品表(Product Table)**:包含產(chǎn)品的詳細(xì)信息,例如產(chǎn)品ID、產(chǎn)品名稱、類別ID等。
- **類別表(Category Table)**:包含類別的詳細(xì)信息,例如類別ID、類別名稱等。

2. **關(guān)系分析**:
- **產(chǎn)品表與類別表**:每個(gè)產(chǎn)品屬于一個(gè)類別,但一個(gè)類別可以包含多個(gè)產(chǎn)品。因此,產(chǎn)品表中的每個(gè)記錄(產(chǎn)品ID)對應(yīng)類別表中的一個(gè)記錄(類別ID),而類別表中的一個(gè)記錄(類別ID)可以對應(yīng)多個(gè)產(chǎn)品表中的記錄(產(chǎn)品ID)。

這說明產(chǎn)品表(Product Table)到類別表(Category Table)的關(guān)系是多對一(Many-to-one)。每個(gè)產(chǎn)品(Product)對應(yīng)一個(gè)類別(Category),但一個(gè)類別(Category)可以有多個(gè)產(chǎn)品(Product)。

因此,正確答案是D: 多對一(Many-to-one)。