Answers for "alter table add foreign key for multiple columns postgresql"

SQL
3

alter table add multiple columns postgresql

ALTER TABLE customer 
ADD COLUMN fax VARCHAR,
ADD COLUMN email VARCHAR;
Posted by: Guest on May-26-2020
0

postgres foreign key multiple columns

CREATE TABLE t1 (
  a integer PRIMARY KEY,
  b integer,
  c integer,
  FOREIGN KEY (b, c) REFERENCES other_table (c1, c2)
);
Posted by: Guest on February-08-2022

Code answers related to "alter table add foreign key for multiple columns postgresql"

Code answers related to "SQL"

Browse Popular Code Answers by Language