KnowledgeBoat Logo

Computer Science

Consider the table with structure as :

Student(ID, name, dept name, tot_cred)

In the above table, which attribute will form the primary key ?

  1. Name
  2. Dept
  3. Total_credits
  4. ID

Relational Database

2 Likes

Answer

ID

Reason — The "ID" attribute serves as a unique identifier for each student, making it suitable for use as a primary key.

Answered By

1 Like


Related Questions