I am new to PostgreSQL. I was trying to create a table and tried to add a primary key and auto increment in same column and came up with an ERROR
ERROR: syntax error at or near "SERIAL"
LINE 2: upID int SERIAL primary key
Below is my Query
create table tblIK(
upID int SERIAL primary key,
upName varchar(100) NOT NULL,
upMin varchar(100) NOT NULL,
upMax varchar(100) NOT NULL,
upYEAR Date NOT NULL,
upMi varchar(100)NOT NULL,
upIK varchar(100)NOT NULL
)