mysql 建表语句的潜规则

目前在MySQL里建表的时候,通常使用如下的方式:

create student (student_id int(10) not null auto_increment,name varchar(20),sex varchar(2),birthday varchar(20),primary key (student_id));

注意这里student不能使用单引号'',将它包含在其内,如果要使用的话也是要使用键盘左上侧的`

更多详细的MySQL常用语句链接:

http://blog.csdn.net/kakane/article/details/7401111

猜你喜欢

转载自bestchenwu.iteye.com/blog/1935012