If I have a relationship from one to many tables there are 5 tables the main one and the other 4 tables
If I have to bring the information of the 5 tables at the same time what would be the correct way to do it? what I did were 5 different stored procedures 4 inner join separately for the 4 table and another select from the main table it's fine or there's a better way to do it As you can see in the image, the department table is the main one