尝试改变…的喜欢
count(select * from bookings where b.id_customer = c.id)
…至…
(select count(*) from bookings where b.id_customer = c.id)

尝试改变…的喜欢
count(select * from bookings where b.id_customer = c.id)
…至…
(select count(*) from bookings where b.id_customer = c.id)