通过执行 create table 命令,可以在 navicat 中创建表,其中包含列名、数据类型和约束(如非空、默认值)。例如,可通过 create table employees (id int not null auto_increment, name varchar(255) not null, salary decimal(10,2) not null default 0.00) 创建包
导入数据的语句 set character_set_client = utf8; use sakila; drop table stt; create table stt ( id int not null, str1 char(10) not null, str2 varchar(60) not null, str3 varchar(70) not null, primary key(id) )