1. Home
  2. Data Science
  3. SQL for Data Analysis
  4. Which guarantee does a PRIMARY KEY constraint give?

Added 30 Nov -0001

Which guarantee does a PRIMARY KEY constraint give?

  1. Physical sorting of the table rows
  2. A default value for new rows
  3. Uniqueness with no NULL values Correct answer
  4. Uniqueness while allowing NULLs

Correct answer

C. Uniqueness with no NULL values

17 views

MCQSEXAM

Explanation

A primary key is both unique and NOT NULL, and it identifies each row of the table.

Reference

Asked in: NTS, PPSC IT, Interviews

Preparing for an exam?

Doubts & discussion

Not sure why the answer is C? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More SQL for Data Analysis MCQs

Practise all SQL for Data Analysis MCQs

Similar MCQs