mysql数据库基本结构命令

1.显示当前主机中全部的数据库名称:web show databases; 2.switch 到某数据库:sql use 数据库名 3.建立表:数据库 后面可接参数 primary key, auto_increment not null等 create table table_name( column1 type(size) primary key, column2 type(
相关文章
相关标签/搜索