CS Electrical And Electronics
@cselectricalandelectronics

Which of the following SQL constraints ensures that a column has a unique identity and NOT NULL?

All QuestionsCategory: DatabaseWhich of the following SQL constraints ensures that a column has a unique identity and NOT NULL?
Anonymous asked 3 years ago

Options:

  1. PRIMARY KEY
  2. DEFAULT
  3. FOREIGN KEY
  4. UNIQUE

1 Answers
Anonymous answered 3 years ago
  1. PRIMARY KEY