设为首页 加入收藏

TOP

mysql常用的命令
2015-07-24 11:08:58 来源: 作者: 【 】 浏览:2
Tags:mysql 常用 命令
show databases;
use nxu_life;
show tables;
select * from news where department='教务处' limit 10,10;
set names gb2312;
show columns from news;
drop database nxu_life;
source D:\nxu_life.sql;
alter table user_info modify column email varchar(50);//修改字符长度
alter table test add myc interger not null default 20;//增加字段
alter table test drop column myc;//删除字段
quit;
exit;//退出
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇mysql基本用法 下一篇[MySQL]实现树形的遍历(关于多级..

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容:

·雾里看花:真正意义 (2025-12-26 10:54:36)
·C++——模板(超详细 (2025-12-26 10:54:34)
·C++ 模板 | 菜鸟教程 (2025-12-26 10:54:30)
·请问c语言刚入门,该 (2025-12-26 10:21:04)
·python 编程怎么定义 (2025-12-26 10:21:01)