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);
Kompulsa is a technology resource aimed at helping you to understand your world. Topics covered include electronics, science, blockchain, engineering, and much more!
Contact us: nicholas@kompulsa.com
Copyright © 2021 - Kompulsa.com.