Ver originalSELECT xre.`id_establishment` FROM `cfx_hotel_establishment_services` xre WHERE xre.`id_services` IN(76 , 64) GROUP BY xre.`id_establishment` HAVING COUNT(*)= 2;