Advertisements
Advertisements
प्रश्न
How will you add a foreign key to a relation?
पर्याय
Alter table table_name add foreign key(column_name) References reference_table(column_name);
Alter table table_name add foreign_key( column_name) References reference_table( column_name);
Alter table table name add foreign key( column_name) References reference_table;
Any of the above methods can be used
MCQ
उत्तर
Alter table table_name add foreign key(column_name) References reference_table(column_name);
shaalaa.com
SQL for Data Definition
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?