हिंदी

How will you add two columns coll and col2(composite key) as primary key to a relation? -

Advertisements
Advertisements

प्रश्न

How will you add two columns coll and col2(composite key) as primary key to a relation?

विकल्प

  • Alter table table_name add primary_key co11, co12;

  • Alter table table_name add primary key( co11, co12);

  • Add primary key(co11, co12) alter table table_name;

  • Alter table table_name add primary_key(co11, co12);

MCQ

उत्तर

Alter table table_name add primary key( co11, co12);

shaalaa.com
SQL for Data Definition
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×