Convert this query to eloquent
I want to convert this query to eloquent
select result.degname,COUNT(result.emp_id) from (Select ed.emp_id,deg.degname from employeedetails as ed LEFT JOIN designations as deg on ed.designation = deg.degid) as result GROUP BY result.degname
Please sign in or create an account to participate in this conversation.
There's no shortage of content at Laracasts. In fact, you could watch nonstop
for days upon days, and still not see everything!