how to apply 2 with functions in 1 query in laravel code example
Example: join multiple query in laravel
$select->joinSub(
$selectSubQry,
'ag',
'ag.id',
'=',
'agp.userId'
);