Which of the following is NOT a type of SQL constraint?
A.PRIMARY KEY
B.ALTERNATE KEY
C.FOREIGN KEY
D.UNIQUE
Answers
Answered by
3
______✨ HEY MATE ✨_____
➡️ Option (D) UNIQUE is the right answer ✔️
➡️ Option (D) UNIQUE is the right answer ✔️
Answered by
0
ALTERNATE KEY is NOT a type of SQL constraint. Hence, correct option is option(b).
- There are three types of keys in SQL which are PRIMARY KEY, FOREIGN KEY, and UNIQUE KEY.
- The ALTERNATE KEY has all the properties to become the candidate key and they uniquely identify a row in the table.
- The set of candidate keys other than the PRIMARY KEY is called the ALTERNATE KEY.
- They are unique for each row and can have single or multiple attributes.
Similar questions
English,
7 months ago
Chemistry,
7 months ago
Computer Science,
1 year ago
Computer Science,
1 year ago
Math,
1 year ago
Math,
1 year ago