Skip to content
Advertisement

Laravel Query Builder joining with alias

I have two tables

Unknown table

Clients table

My Code :

Joining will be with the clients.id => unknown.parent_id… As because the clients table has a parent_id that’s why i have to use the alias

Please Help me to do so!

Advertisement

Answer

Using Alias Working Solution:

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement