一、创建数据库,编码格式为utf-8
create database s12day9 charset utf8;
二、创建表
use s12day9;
create table students(
id int not null auto_increment primary key,
name char(8) not null,
sex char(4) not null,
age tinyint unsigned not null,
tel char(13) null default "_"
);