What is the difference between a primary key and a foreign key?
Using the provided order table, identify the column serving as the primary key and the column serving as the foreign key. Explain how each key supports data integrity and relationships between tables.
order_id and customer_idorder_id in ascending order| Column | Type | Description |
|---|---|---|
| order_idPK | INT | Unique identifier for each order |
| customer_id | INT | Identifier of the customer associated with the order, referencing customers.customer_id |