mysql---表操作之创建表

1)查看当前数据库中已有表 show tables; 2)创建表 create table (if not exists) 表名 ( 列a定义,  列b定义,   列c定义 ); 列定义:列名 数据类型 空值说明 主键说明 默认值 一.列名(Field) 二.数据类型(Type): 1.数值类型:tinyint,smallint,mediumint,int,bigint,float,double
相关文章
相关标签/搜索