- ctrl+q 打开查询窗口
- ctrl+/ 注释sql语句
- ctrl+shift +/ 解除注释
- ctrl+r 运行查询窗口的sql语句
- ctrl+shift+r 只运行选中的sql语句
- F6 打开一个mysql命令行窗口
- ctrl+d (1):查看表结构详情,包括索引 触发器,存储过程,外键,唯一键;(2):复制一行
- ctrl+l 删除一行
- ctrl+n 打开一个新的查询窗口
- ctrl+w 关闭一个查询窗口
- ctrl+tab 多窗口切换
-- 修改表的操作
-- 增加列image 在num3后面
alter table t06 add image varchar(32) not null default '' after num3;
-- 显示表的结构
desc t06;
-- 修改num3 列 的类型
alter table t06 modify num3 decimal(40,20);
-- 删除表中的t06的num1
alter table t06 drop num1;
-- 修改表名
rename table t06 to t07;
rename table t07 to t06;
-- 修改表的字符集为utf8
alter table t06 character set utf8;
-- 列明name修改为user_name;
alter table t06 change num1 num11 varchar(32);
![请添加图片描述](https://i-blog.csdnimg.cn/blog_migrate/350bfaff16de32ec43b347238125c0bd.png)