127k views
0 votes
What is the difference between a key and a superkey?

User Asif Raza
by
5.3k points

1 Answer

7 votes

Answer:

Answered below

Step-by-step explanation:

A key is a single or combination of many attributes that enable us pull a row of data from a table. Keys are identifiers used to get data seamlessly from the database. A key can be a primary key, secondary key, control key, or super key. A super key is a key or set of attributes use to identify tuples in a database. It can contain extra attributes not necessary for uniquely identifying a database.

User Ionat
by
5.4k points