हिंदी

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×