मराठी

Which two constraints when applied together will produce a Primary Key constraint?

Advertisements
Advertisements

प्रश्न

Which two constraints when applied together will produce a Primary Key constraint?

अति संक्षिप्त उत्तर
Advertisements

उत्तर

The two constraints that together produce a Primary Key constraint are:

  1. NOT NULL – The attribute cannot contain a NULL value.
  2. UNIQUE – The attribute must contain unique values.

Therefore:

Primary Key = NOT NULL + UNIQUE

shaalaa.com
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 8: Introduction to Structured Query Language (SQL) - Intext Questions [पृष्ठ १४६]

APPEARS IN

एनसीईआरटी Informatics Practices [English] Class 11
पाठ 8 Introduction to Structured Query Language (SQL)
Intext Questions | Q 4. | पृष्ठ १४६
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×