[SQL] CREATE TABLE if EXISTS user2;
[Err] 1064 - 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 'EXISTS user2' at line 1
CREATE TABLE if NOT EXISTS user2;
[Err] 1113 - A table must have at least 1 column
请问如何解决这两个问题?
A table must have at least 1 column
查找是至少有一个表定义一个列。但不会解决。求解!
@勤为路: CREATE TABLE if EXISTS user2 这个sql不对呀,为什么没有定义列?
@会长: 怎么添加定义列?不清楚它那个意思是什么
@勤为路: 问问你同学吧