|
예제1)
create table member
(name char,
member_id char,
member_pw char,
zipcode char,
street text,
passbook char,
cPhone char,
hphone char);
|
create table member
(name char primary key,
member_id char,
member_pw char,
zipcode char,
street text,
passbook char,
cPhone char,
hphone char);
|
create table member
(name char auto_increment,
member_id char,
member_pw char,
zipcode char,
street text,
passbook char,
cPhone char,
hphone char);
반응형
'DB프로그래밍 > MYSQL' 카테고리의 다른 글
MySql - INSERT (0) | 2011.03.23 |
---|---|
MySql - select문 (0) | 2011.03.23 |
MySql - ALTER문 (0) | 2011.03.23 |
mysql 기초 명령어 (0) | 2011.03.21 |
mysql - alter문 (0) | 2010.10.29 |