WAEC Data Processing 2024 Question 24

Question 24

Database Management

Use Figure 4 to answer questions 23 and 24.
Which of the following lists contains the primary keys in Figure 4?

Diagram for this question
  1. A.Customers, Orders and Products.
  2. B.customerId, OrderId, ProductId.
  3. C.CustomerId, FirstName, LastName and DateCreated.
  4. D.Customers, CustomerId, FirstName, LastName and DateCreated.
Show the answer and explanation

Answer: B (customerId, OrderId, ProductId.)

Explanation

Each table's primary key is its ID field: CustomerId, OrderId and ProductId.