Concept Flow - ALTER TABLE operations
Start ALTER TABLE
Parse command
Check table exists?
No→Error: Table not found
Yes
Identify operation type
Add column
Drop column
Modify column
Rename column
Rename table
Execute operation
Update table structure
Finish ALTER TABLE
The ALTER TABLE command starts by parsing the input, checking if the table exists, then identifies the specific operation (add, drop, modify, rename), executes it, updates the table structure, and finishes.