The document contains instructions for writing SQL statements to perform various operations on database tables like renaming tables, adding/dropping columns, changing data types, adding/dropping primary and foreign keys, and adding/dropping indexes. These operations include renaming tables, adding/dropping columns, changing data types, adding primary and foreign keys, and adding/dropping indexes on sample tables like locations, jobs, and job_history.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
53 views3 pages
MySQL Alter Table
The document contains instructions for writing SQL statements to perform various operations on database tables like renaming tables, adding/dropping columns, changing data types, adding/dropping primary and foreign keys, and adding/dropping indexes. These operations include renaming tables, adding/dropping columns, changing data types, adding primary and foreign keys, and adding/dropping indexes on sample tables like locations, jobs, and job_history.