I have a situation and would appreciate some help.
I have two tables - Error and Warning:
Error : Err_no, pattern(pk=Error_no)
Warning : War_no, pattern(pk=War_no)
Based on these tables I have to decide on the resolution and I have a separate table doing this:
Resolution : Code_no, resolution
I want to keep Code_no
as foreign key to both Err_no(Error table)
and War_no(Warning table)
.
I am using Postgres
and want to know if and how I can do that?