Versuchen Sie, z. B. Folgendes zu ändern:
count(select * from bookings where b.id_customer = c.id)
...an...
(select count(*) from bookings where b.id_customer = c.id)
Versuchen Sie, z. B. Folgendes zu ändern:
count(select * from bookings where b.id_customer = c.id)
...an...
(select count(*) from bookings where b.id_customer = c.id)