laravel sql join more than two table code example
Example: join multiple query in laravel
$select->joinSub(
$selectSubQry,
'ag',
'ag.id',
'=',
'agp.userId'
);