con access questa query funziona benissimo..
con mysql manda in palla tutto...

provato sia in locale che in remoto....

codice:
SELECT hotels.DIY, (select count(*) from hotels as t where DIY = hotels.DIY) AS tot, hotels.IDPAESE_ISO
FROM hotels
GROUP BY hotels.DIY,hotels.IDPAESE_ISO;