我想執行這個簡單的命令:無法創建一個表 - 錯誤1064(42000):你在你的SQL語法錯誤
create table foo
(clo int primary key unsigned auto_increment);
但我得到這個錯誤:
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 'unsigned auto_increment)' at line 2
僅供參考:http://dev.mysql.com/doc/refman/5.1/en/create-table.html。特別是,查看語法中的column_definition和data_type非終端。 – outis 2010-05-03 14:21:07