Will you use both comments in the same way? If so, then (2) otherwise (1)
If you use (1), you can create a view on both tables so that they appear as one.
In case (2), you can add a trigger to ensure that there is only one Foreign Key column to fill in the row, or as @Ronnis it is suggested to use the CHECK constraint (best method).
source
share