Postgres alter table ajouter la clé primaire
-- To set a column as primary key:
ALTER TABLE distributors ADD PRIMARY KEY (tablename);
The Rambling Lank
-- To set a column as primary key:
ALTER TABLE distributors ADD PRIMARY KEY (tablename);
ALTER TABLE table_name ADD PRIMARY KEY (column_1, column_2);
ALTER TABLE table_name ADD PRIMARY KEY (column_1, column_2);
ALTER TABLE table_name ADD PRIMARY KEY (column_1, column_2);
sdgsdg