Can you have a composite foreign key?



Can you have a composite foreign key?..

Answer / Nitesh Agrawal

Yes, in PostgreSQL, you can define a composite foreign key which is a foreign key that consists of multiple columns.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Postgre Interview Questions

What is the operator that is used for case-insensitive regular expression searches in PostgreSQL?

1 Answers  


Does creating a foreign key create an index?

1 Answers  


How many byte Unique integers does OIDs in PostgreSQL have?

1 Answers  


How do I change the datatype in postgresql?

1 Answers  


How to view tables in a database in postgresql?

1 Answers  


Can postgres use multiple indexes?

1 Answers  


What is work_mem in postgresql?

1 Answers  


Can postgresql scale horizontally?

1 Answers  


What is foreign key in access?

1 Answers  


Is foreign key should be unique?

1 Answers  


What is cluster in postgresql?

1 Answers  


What is the best postgresql gui tool?

1 Answers  


Categories