Spróbuj zmienić polubienia...
count(select * from bookings where b.id_customer = c.id)
...do...
(select count(*) from bookings where b.id_customer = c.id)
Spróbuj zmienić polubienia...
count(select * from bookings where b.id_customer = c.id)
...do...
(select count(*) from bookings where b.id_customer = c.id)