Postgresql – Division produces unexpected results
id client_id driver_id city_id status request_at 1 1 10 1 completed 2023-12-23 2 2 11 1 cancelled_by_driver 2023-12-23 3 3 12 6 completed 2023-12-23 4 4 13 6 cancelled_by_client 2023-12-23 5 1 10 1 completed 2023-12-24 6 2 11 6…