Discrete math The 3tuples in a 3ary relation represent the f

Discrete math

The 3-tuples in a 3-ary relation represent the following of a product at a store:

Barcode, Product Name, Product Brand.

Which of these would likely be a primary key?

a. product name

b. barcode

c. product brand

d. none of these

Solution

primary key :

It refers to the every tuple in a table has unique values.

Barcode :

barcode is a primary key because every product has its own code. No duplicate codes are allowed by generator of barcodes.

Option b is correct choice.

Discrete math The 3-tuples in a 3-ary relation represent the following of a product at a store: Barcode, Product Name, Product Brand. Which of these would likel

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site