An e-commerce company maintains separate tables for customers and orders within its relational database. Each customer is assigned a unique customer ID in the customer table. When a new order is created, the system records the customer ID alongside order details such as date, product, and quantity. This allows the company to track which customer placed each order and generate reports linking customers to their purchases. In this context, what is the role of the “customer ID” in the Orders table?单项选择题

A

foreign key

B

metadata

C

attribute

D

primary key

登录即可查看完整答案

我们收录了全球超50000道真实原题与详细解析,现在登录,立即获得答案。

类似问题

更多留学生实用工具

加入我们,立即解锁 海量真题独家解析,让复习快人一步!