1. 创建表时,最后一个字段的最后一定不要加‘,’(逗号),否则会提示ERROR 1064 (42000):You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line (行数)
2. 创建表之前记得先指定数据库“use 数据库名”
1. 创建表时,最后一个字段的最后一定不要加‘,’(逗号),否则会提示ERROR 1064 (42000):You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line (行数)
2. 创建表之前记得先指定数据库“use 数据库名”