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
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?