Time : 12:09:08
SQLSTATE[42000]: Syntax error or access violation: 1055 Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'karnava_kwapp.b.vehicle_id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
Raw SQL : SELECT b.*,c.*,count(b.vehicle_id) as totalVehicle FROM tbl_customer a left join tbl_vehicle b on a.user_id = b.user_id join tbl_plan c on b.plan_id = c.plan_id join tbl_vehicleplandetail d on d.vehicle_id = b.vehicle_id WHERE 1  AND a.addedbyuser_id = 119 AND c.plan_id = 1 AND d.start_date BETWEEN '2023-06-19' AND '2023-06-25' AND (b.status = 1 OR b.status = 3)   GROUP BY c.plan_id
