'Make a table with an attribute of another table. Sap Hybris

I have a question regarding modeling in Hybris. For example, I have two different tables with next fields:

Table1:

  • attribute1;

Table2:

  • attribute2;

Can I create a new table with some attribute ("attributeName") that will link to one or another field from Table1 or Table2 at the same time? If yes, how can I do it?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source