Asked in PPSC, FPSC and other one-paper exams (compiled from unofficial resources).
Database Management SystemSQL Basics
Which of the following table constraints prevents the entry of duplicate rows?
- A.Primary Key
- B.UniqueCorrect answer
- C.Foreign Key
- D.Check
Timed quizzes, instant results, track your progress — free
Practice these MCQs in the appQuick fact: The Unique constraint ensures that all values in a column or set of columns are distinct, preventing duplicate rows in a table.