Create 語法
create database stuednt #建立一個新的資料庫
建立一個新的資料表
create table student (
id smallint not null auto_increment,
account varchar(12) binary not null,
name varchar(12) not null,
sex tinyint(1) default 0 ,
date datetime,
primary key(id)
)
arrow
arrow
    全站熱搜

    colud77 發表在 痞客邦 留言(0) 人氣()