create database test
-> default character set utf8;
Query OK, 1 row affected (0.00 sec)
mysql> use test
Database changed
mysql> create table student(
-> sno char(9) primary key,
-> sname char(20) unique,
-> ssex char(2),
-> sage smallint,
-> sdept char(40),
-> saddr char(100)
-> );
Query OK, 0 rows affected (0.55 sec)
mysql> insert into student(sno,sname,ssex,sage,sdept) values