mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-03-24 09:09:50 +01:00
Update 101-alter-table.md (#5830)
This commit is contained in:
parent
a4000539f6
commit
e765771500
@ -71,5 +71,5 @@ To drop PRIMARY KEY:
|
||||
```sql
|
||||
ALTER TABLE table_name
|
||||
DROP PRIMARY KEY;
|
||||
|
||||
```
|
||||
In conclusion, `ALTER TABLE` in SQL lets you alter the structure of an existing table. This is a powerful command that lets you dynamically add, modify, and delete columns as well as the constraints placed on them. It ensures you are more flexible in dealing with changing data storage requirements.
|
||||
|
Loading…
x
Reference in New Issue
Block a user