Hello, good afternoon.
I'm modeling my database (MySQL) and a question has arisen. In the bank, among others, I have the following tables: Officials - Sectors - Branches
An Employee works OR in a Headquarters Sector OR in a Branch. I wanted to create a relationship between a work_name attribute of the Employee table with the id tags) of the Sector table > Table or Unit table.
Is this possible? How would you do?