मराठी

Which MySQL command helps to add a primary key constraint to any table that has already veen created? - Informatics Practices

Advertisements
Advertisements

प्रश्न

Which MySQL command helps to add a primary key constraint to any table that has already been created? 

पर्याय

  • UPDATE

  • INSERT INTO

  • ALTER TABLE

  • ORDER BY

MCQ

उत्तर

ALTER TABLE

Explanation:

The ALTER TABLE statement and the ADD CONSTRAINT clause can be used in SQL to add a primary key. The syntax is as follows: ALTER TABLE table_name. 

shaalaa.com
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
2023-2024 (February) Set 4
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×