I can not see the error of this statement
create table authority (
id int GENERATED BY DEFAULT AS IDENTITY (START WITH 1, INCREMENT BY 1)
primary key, name varchar(50));
I can not see the error of this statement
create table authority (
id int GENERATED BY DEFAULT AS IDENTITY (START WITH 1, INCREMENT BY 1)
primary key, name varchar(50));
the correct syntax in MySQL is:
create table authority (
id int primary key AUTO_INCREMENT,
name varchar(50)
);