Ordering, Grouping, Limit, & Offset: GroupBy / having

$users = DB::table('users')
                ->groupBy('account_id')
                ->having('account_id', '>', 100)
                ->get();
$users = DB::table('users')
                ->groupBy('first_name', 'status')
                ->having('account_id', '>', 100)
                ->get();

Ordering, Grouping, Limit, & Offset: GroupBy / having — Structure map

Clickable & Draggable!

Ordering, Grouping, Limit, & Offset: GroupBy / having — Related pages: