Modify table structure
Syntax: 1 . Modify table the ALTER TABLE table name RENAME new name; 2 increase the field. The ALTER TABLE table name ADD Field Name Data Type [ integrity constraints ... ] , ADD Field Name Data Type [ integrity constraints ... ] ; 3 . remove field the ALTER tABLE table DROP field name; 4 . editable field the ALTER tABLE table mODIFY field name data type [ integrity constraints ... ]; The ALTER TABLE table name CHANGE old name for the new field name field type old data [ integrity constraints ... ] ; the ALTER TABLE table name CHANGE old name for the new field name field new Data Type [ integrity constraints ... ] ; 5 . Editable field arrangement order / increase in the time designating field position the ALTER tABLE table name ADD field name data type [ integrity constraints ... ] FIRST; the ALTER tABLE table name ADD field name data type [ integrity constraints ... ] an AFTER field name; the ALTER TABLE table name CHANGE field name field name New Old New Data Type Field Name [ integrity constraints ... ] FIRST; the ALTER TABLE table MODIFY Field Name Data Type [ integrity constraints ... ] an AFTER field name;
Meet to come to, less than basic, but also change with graphical interface.