1. 备份单个表
mysqldump -u root -S /tmp/mysql.sock 【数据库名】 【表名】 > /root/表名.sql
2.恢复单个表
mysql -u root -S /tmp/mysql.sock 【数据库名】< /root/表名.sql
3. 删除表的字段
alter table t_paidholiday drop tests
4. 增加表的字段(在列2之后加字段列1)
alter table 表 add column 列1 decimal(3,1) not null default 默认值 after 列2