mysql 建表语句的潜规则

 

目前在MySQL里建表的时候,一般使用以下的方式:sql

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

 

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

 

更多详细的MySQL经常使用语句连接:code

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

相关文章
相关标签/搜索