-
-
Notifications
You must be signed in to change notification settings - Fork 181
Open
Description
when i run this query every thing is ok :
$stmt = $db->table('call_history')
->select('id')
->where('caller_id', $operator_id)
->groupBy('user_id')
->get();
// result is 5 record
but
run this query :
$stmt = $db->table('call_history')
->select('id')
->where('caller_id', $operator_id)
->groupBy('user_id')
->count();
// result is number 30 (common record not grouped)
groupby not true work !
when i remove groupBy from my query every thing is ok
Metadata
Metadata
Assignees
Labels
No labels