mysql基本常用命令
来源:互联网 发布:linux 路由metric 编辑:程序博客网 时间:2024/06/02 02:01
<span style="font-size:18px;"><strong>//mysql基本常用命令.txtcreate database 数据库;//创建数据库use 数据库;//使用数据库create table 数据表();//创建数据表show databases;//显示所有数据库show tables;//显示所有数据表insert into 数据表() values();//添加数据delete from 数据表 where id='';//删除数据update 数据表 set 字段=值 where id='';//更新数据select * from 数据表;//查询数据desc 数据表;//查看表结构show columns from 数据表;//查看表结构alter table 数据表 add column 字段 int;//增加一个字段alter table 数据表 drop column 字段;//删除一个字段alter table 数据表 add index 索引名(字段);//为一个字段添加索引alter table 数据表 drop index 索引名;//删除一个字段的索引 </strong></span>
0 0
- mysql基本常用命令
- Mysql基本常用命令整理
- MySQL常用命令及基本操作总结
- MYSQL常用命令(二) 基本操作命令
- MySQL常用命令及基本操作总结
- MySQL常用命令及基本操作总结
- MySQL常用命令及基本操作总结
- MySQL常用命令及基本操作总结
- MySQL常用命令与基本命令操作
- Mysql最基本、最常用命令集锦
- MySQL常用命令与基本命令操作
- mysql的基本操作及其常用命令
- MySQL的基本用法和常用命令
- 基本常用命令
- Mysql数据库导入导出SQL文件的基本常用命令
- Mysql数据库导入导出SQL文件的基本常用命令
- MySQL常用命令
- MySql常用命令
- Android之进程和线程详解
- GPRS-PDP上下文的激活过程
- JS中的apply和call
- 位运算的应用
- 微信开发中当前网页窗口的JS代码
- mysql基本常用命令
- eclipse解决push是auth fail的问题
- joda-time 时间API
- Android之多次解绑抛出异常原因
- nil、Nil、NULL、NSNull的区别
- 创建高性能的索引
- 端口
- Oracle 中count(1) 和count(*) 的区别
- Android之WebView案例分析