you have an error in your SQl syntax;check the manual that corresponds to your MySQL server version

在mysq中创建表的时候出现的问题

you have an error in your SQl syntax;check the manual that corresponds to your MySQL server version_第1张图片

 

解决方案,就是将varchar后面指定长度,就可以解决问题

错误的sql如下:

you have an error in your SQl syntax;check the manual that corresponds to your MySQL server version_第2张图片

 

你可能感兴趣的:(sql,数据库)