13 Program for Primary Key Constraint in PostgreSQL

Program:

create table people( ID int primary key, name text, number int);



insert into people values(1, 'Atharva', 54955);



insert into people values(2, 'KimJong', 54985);



insert into people values(2, 'KimJong', 54985);



select * from people;


Output:

Primary Key Constraint in PostgreSQL


Previous
Next Post »