To use a column as your primary key, you would put the column name (‘model’ in this case) in brackets below. Be sure to choose a column with unique cells.
ALTER TABLE public.cpus
ADD CONSTRAINT cpus_pk PRIMARY KEY(model);
To use a column as your primary key, you would put the column name (‘model’ in this case) in brackets below. Be sure to choose a column with unique cells.
ALTER TABLE public.cpus
ADD CONSTRAINT cpus_pk PRIMARY KEY(model);