创建主键总是报错
难道真的只有我创建主键的时候会报错吗 【/无奈】,已经重新打了好几次代码,我确定单词没有打错,很确定和视频中一样的,但一运行就是会报
代码和报错信息如下:mysql> CREATE TABLE tb3( -> id SMALLINT UNSIGED AUTO_INCREMENT PRIMPAY KEY, -> username VARCHAR(30) NOT NULL -> ); 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 'UNSIGED AUTO_INCREMENT PRIMPAY KEY, username VARCHAR(30) NOT NULL )' at line 2
错【/哭泣】,求大神解答