We team use postgresql databse.
I want to add a foreign key to relate two tables,but error
error message: the foreign key constraint must contain all distribute columns of reference table
help me!
I hope add foregin key successed!!!!!!
New contributor
Keith BR is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.