mysql

Create Table user_info(
id INT primary key auto_increment
);


sql server

Create Table user_info (
id int identity(1, 1) primary key
);