हिंदी

______ command is used to remove the primary key from a table in SQL.

Advertisements
Advertisements

प्रश्न

______ command is used to remove the primary key from a table in SQL.

विकल्प

  • update

  • remove

  • alter

  • drop

MCQ
रिक्त स्थान भरें
Advertisements

उत्तर

Alter command is used to remove the primary key from a table in SQL.

Explanation:

The alter table command is used to remove the primary key from a table in SQL.

Syntax to remove the primary key:

ALTER TABLE table_name DROP PRIMARY KEY;

So, the correct answer is Alter.

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

Englishहिंदीमराठी


      Forgot password?
Use app×