Multiple choice technology databases

Which key is related to SQL?

  1. Superkey

  2. Candidate key

  3. Primary key

  4. Composite key

Reveal answer Fill a bubble to check yourself
A,B,C,D Correct answer
Explanation

All four options are SQL key concepts. Superkey (A) uniquely identifies tuples. Candidate key (B) is a minimal superkey. Primary key (C) is a selected candidate key. Composite key (D) is a key made of multiple attributes. All are correct.