时间:2024-02-05 12:47作者:下载吧人气:26
mysql使用auto_increment的语法实现表字段自增。
在PostgreSQL中,具有数据类型为smallserial,serial,bigserial的字段具有自增特性。
create table company(
id serial primary key,
name text not null,
age int not null,
address char(50),
salary real
);
网友评论