Please have a look at the below table structure.
Client
table has the foreign key
for Provider
Table, which is not NULL
. Portfolio
table has the foreign key
for the Client
table, which is also not NULL
.
I need to retrieve all the fields from the Portfolio
table, Name of the Client
and the Provider
Name who is allocated to the Client
which is referred by the Portfolio
table..
How can I do this in SQL Code?