English

Can we insert two records with the same roll number?

Advertisements
Advertisements

Question

Can we insert two records with the same roll number?

Very Short Answer
Advertisements

Solution

No, two records with the same RollNumber cannot be inserted if RollNumber is defined as a PRIMARY KEY, because a primary key must contain unique values for each record.

shaalaa.com
  Is there an error in this question or solution?
Chapter 8: Introduction to Structured Query Language (SQL) - Intext Questions [Page 159]

APPEARS IN

NCERT Informatics Practices [English] Class 11
Chapter 8 Introduction to Structured Query Language (SQL)
Intext Questions | Q 14. | Page 159
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×