So let's say i have three tables
1)User 2)Employee 3)Client
user holds basic data of whether employee or client and has a column that mentions if that user is employee or client
I want to achieve fetching the users and joining each user to his corresponding table.
For example,if i fetch a user who is an employee, it should join that user to employee table. Likewise for client.