Essayez de changer les goûts de...
count(select * from bookings where b.id_customer = c.id)
...à...
(select count(*) from bookings where b.id_customer = c.id)
Essayez de changer les goûts de...
count(select * from bookings where b.id_customer = c.id)
...à...
(select count(*) from bookings where b.id_customer = c.id)