SELECT((SELECT count(*)
FROM `bookings`
WHERE `bookings`.`status` = 'collect_payment'
AND {{created_at}}))
/
((SELECT count(*)
FROM `bookings`
AND {{created_at}})
;
I am trying to divided two values by dividing two select statement but it does not work