Answers for "postgres foreign key multiple columns"

SQL
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 "postgres foreign key multiple columns"

Code answers related to "SQL"

Browse Popular Code Answers by Language