报错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 '<id int,username varchar<20>,password varchar<20>>' at line 1
解决方法:
在看视频教程写sql语句创建表的时候,竟然一直用的是 create table Table1<id int,username<20>,password varchar<20>>;
hhh,还一直对比来对比去,觉得自己没错啊,傻哭了,应该是圆括号,不是尖括号啊!!!这样才是对的:
create table Table1(id int,username(20),password varchar(20));