create table world(
-> id int,
-> name varchar(250) comment '姓名',
-> age int comment '年龄',
-> password varchar(250) comment '密码'
-> );
1.逗号、括号、分隔符等符号都是中文的
2.有的应该加下划线,但是没有加。
3.有的地方应该加空格,没有加。
4.字段使用的是系统关键字:
例如:create作为字段名
解决方法:使用`xx`解决,包起来。
(此符号为1旁边的符号,并非;旁边的符号)