I am a MySQL beginner, I followed a simple tutorial on the web, it has such a simple create table statement
create table users(
userID int primary key identity(1,1)
)
I now sort of have an idea of what identity means, however, whenever I typed this statement in MySQL console, it always complains that I have a syntax error.
Could anybody help out? Thanks.
Identity(1,1)is not mysql syntax; useauto_incrementinstead