हिंदी

Mr. Rohan has created a table 'student' with rollno., name, class and section. Now he is confused to set the primary key. So identify the primary key column.

Advertisements
Advertisements

प्रश्न

Mr. Rohan has created a table 'student' with rollno., name, class and section. Now he is confused to set the primary key. So identify the primary key column.

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

उत्तर

rollno should be the primary key because it uniquely identifies each student record. It must contain unique and non-NULL values.

shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 10: Structure Query Language - EXERCISE [पृष्ठ १९६]

APPEARS IN

सीबीएसई Computer Science with Python [English] Class 12
अध्याय 10 Structure Query Language
EXERCISE | Q 1. | पृष्ठ १९६
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×