Todo Incluído
¡Elija el hotel Iberostar Tainos en Cuba con Travelnet y reserve en línea su viaje a Cuba!
Ubicado directamente en la linda Playa de la peninsula de Varadero a solos 13 km desde el pueblo , se encuentra este tradicional hotel de 4 plantas construido al estilo caribeno. En el jardin hay 17 bungalows de dos plantas cadauno de 8 habitaciones.
Todas las 269 Habitaciones decoradas con gusto , tienen aire acondicionado, tv satelitar ,telefono , minibar , bano privado cn secador de pelo, cajafuerte, balcon o terraza.
Dentro del complejo del Hotel Iberostar Tainos encuentraran además de los mejores restaurantes donde saborear deliciosos platos de la gastronomía cubana e internacional, un ambiente spa en el que disfrutar de servicios de belleza y bienestar personal como la sala de fitness, la sauna o masajes. A 10 kilómetros del hotel encontrará la ciudad de Varadero, una bocanada de aire fresco con la que intentar desentrañar parte de la magia que Cuba despierta en el visitante. Colonial o revolucionaria, el mito de Cuba pervive. Durante sus vacaciones en el Hotel Iberostar Tainos disfrutará del interés cultural y social de Cuba junto a una oferta de ocio, entretenimiento y playa de alto nivel.
El lugar perfecto para el relax , las actividades de playa , unas vacaciones romanticas , en un encanto de playa .
Los mejores hoteles en Varadero - Matanzas al mejor precio. No te pierdas tu viaje a Varadero - Matanzas.
85 € |
65 € |
89 € |
68 € |
• Recogida en los hoteles según horario escalonado establecido para la excursión • Transfer Hotel-Marina Gaviota. • Tr... ver más
Primer día: Recogida en los hoteles según horario escalonado establecido para la excursión Breve parada en tránsito... ver más
Recogida en los hoteles según el tiempo establecido para la excursión. Traslado desde el hotel a los jeeps. Una aventura má... ver más
Copyright © Travelnet 2006-2019.
Todos los derechos reservados
|
¿Quiénes somos? | Términos y condiciones |
Contacto
ASISTENCIA AL CLIENTE EN CUBA
Teléfono
(+53) 7 8333977, (+53) 7 8310461
HORARIO DEL CENTRO DE ASISTENCIA:
Lun - Vier: 9 am - 5 pm (EST)
Sáb: 9 am - 1 pm (EST)
Dirección:
Edificio ATLANTIC, calle D esquina con 1ra, Vedado - La Habana
type | calls | time (ms) | time (%) |
---|---|---|---|
Database (Doctrine) | 356 | 251.20 | 8 |
SET NAMES 'UTF8'
SELECT c.id AS c__id, c.currency AS c__currency, c.code AS c__code FROM currency c WHERE (c.code = 'EUR') LIMIT 1
SELECT h.id AS h__id, h.destination_id AS h__destination_id, h.hotel_chain_id AS h__hotel_chain_id, h.provider_id AS h__provider_id, h.airport_id AS h__airport_id, h.taxi_price AS h__taxi_price, h.micro_price AS h__micro_price, h.mini_price AS h__mini_price, h.stars AS h__stars, h.hotel_plan_id AS h__hotel_plan_id, h.name AS h__name, h.name_ws AS h__name_ws, h.code AS h__code, h.dinner_price AS h__dinner_price, h.total_rooms AS h__total_rooms, h.is_promo AS h__is_promo, h.contract_end_at AS h__contract_end_at, h.is_active AS h__is_active, h.is_published AS h__is_published, h.url AS h__url, h.earn_percent AS h__earn_percent, h.phone AS h__phone, h.fax AS h__fax, h.adress AS h__adress, h.id_ws AS h__id_ws, h.code_ws AS h__code_ws, h.is_hotel AS h__is_hotel, h.allow_direct_booking AS h__allow_direct_booking, h.website AS h__website, h.tpd_destination_rank AS h__tpd_destination_rank, h.tpd_destination_hotel_qty AS h__tpd_destination_hotel_qty, h.tpd_review_qty AS h__tpd_review_qty, h.tpd_destination_id AS h__tpd_destination_id, h.tpd_hotel_id AS h__tpd_hotel_id, h.tpd_rating_average AS h__tpd_rating_average, h.tpd_url AS h__tpd_url, h.photo_filename AS h__photo_filename, h.photo_file_updated_at AS h__photo_file_updated_at, h.photo_file_size AS h__photo_file_size, h.cache_pax_price_in_double AS h__cache_pax_price_in_double, h.cache_regular_pax_price_in_double AS h__cache_regular_pax_price_in_double, h.cache_offer_discount AS h__cache_offer_discount, h.min_booking_rooms AS h__min_booking_rooms, h.max_booking_rooms AS h__max_booking_rooms, h.is_villa AS h__is_villa, h.main_photo_filename AS h__main_photo_filename, h.zone_id AS h__zone_id, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.bank_account_id AS h__bank_account_id, h.latitude AS h__latitude, h.longitude AS h__longitude, h.payment_method_id AS h__payment_method_id, h.payment_begin_at AS h__payment_begin_at, h.payment_end_at AS h__payment_end_at, h.created_at AS h__created_at, h.updated_at AS h__updated_at, h2.id AS h2__id, h2.description AS h2__description, h2.facilities AS h2__facilities, h2.tours AS h2__tours, h2.rooms AS h2__rooms, h2.address AS h2__address, h2.photo_title AS h2__photo_title, h2.lang AS h2__lang, h2.slug AS h2__slug, h2.h1_title AS h2__h1_title, h2.meta_title AS h2__meta_title, h2.meta_description AS h2__meta_description, h2.seo_description AS h2__seo_description, h2.meta_keywords AS h2__meta_keywords FROM hotel h LEFT JOIN hotel_translation h2 ON h.id = h2.id WHERE (h2.slug = 'iberostar-tainos' AND h.is_published = '1')
SELECT h.id AS h__id, h.destination_id AS h__destination_id, h.hotel_chain_id AS h__hotel_chain_id, h.provider_id AS h__provider_id, h.airport_id AS h__airport_id, h.taxi_price AS h__taxi_price, h.micro_price AS h__micro_price, h.mini_price AS h__mini_price, h.stars AS h__stars, h.hotel_plan_id AS h__hotel_plan_id, h.name AS h__name, h.name_ws AS h__name_ws, h.code AS h__code, h.dinner_price AS h__dinner_price, h.total_rooms AS h__total_rooms, h.is_promo AS h__is_promo, h.contract_end_at AS h__contract_end_at, h.is_active AS h__is_active, h.is_published AS h__is_published, h.url AS h__url, h.earn_percent AS h__earn_percent, h.phone AS h__phone, h.fax AS h__fax, h.adress AS h__adress, h.id_ws AS h__id_ws, h.code_ws AS h__code_ws, h.is_hotel AS h__is_hotel, h.allow_direct_booking AS h__allow_direct_booking, h.website AS h__website, h.tpd_destination_rank AS h__tpd_destination_rank, h.tpd_destination_hotel_qty AS h__tpd_destination_hotel_qty, h.tpd_review_qty AS h__tpd_review_qty, h.tpd_destination_id AS h__tpd_destination_id, h.tpd_hotel_id AS h__tpd_hotel_id, h.tpd_rating_average AS h__tpd_rating_average, h.tpd_url AS h__tpd_url, h.photo_filename AS h__photo_filename, h.photo_file_updated_at AS h__photo_file_updated_at, h.photo_file_size AS h__photo_file_size, h.cache_pax_price_in_double AS h__cache_pax_price_in_double, h.cache_regular_pax_price_in_double AS h__cache_regular_pax_price_in_double, h.cache_offer_discount AS h__cache_offer_discount, h.min_booking_rooms AS h__min_booking_rooms, h.max_booking_rooms AS h__max_booking_rooms, h.is_villa AS h__is_villa, h.main_photo_filename AS h__main_photo_filename, h.zone_id AS h__zone_id, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.bank_account_id AS h__bank_account_id, h.latitude AS h__latitude, h.longitude AS h__longitude, h.payment_method_id AS h__payment_method_id, h.payment_begin_at AS h__payment_begin_at, h.payment_end_at AS h__payment_end_at, h.created_at AS h__created_at, h.updated_at AS h__updated_at, h2.id AS h2__id, h2.description AS h2__description, h2.facilities AS h2__facilities, h2.tours AS h2__tours, h2.rooms AS h2__rooms, h2.address AS h2__address, h2.photo_title AS h2__photo_title, h2.lang AS h2__lang, h2.slug AS h2__slug, h2.h1_title AS h2__h1_title, h2.meta_title AS h2__meta_title, h2.meta_description AS h2__meta_description, h2.seo_description AS h2__seo_description, h2.meta_keywords AS h2__meta_keywords, d.id AS d__id, d.code AS d__code, d.lat_max AS d__lat_max, d.lng_max AS d__lng_max, d.lat_min AS d__lat_min, d.lng_min AS d__lng_min, d.is_active AS d__is_active, d.is_published AS d__is_published, d.id_ws AS d__id_ws, d.main_photo_filename AS d__main_photo_filename, d.has_free_transfer AS d__has_free_transfer, d.latitude AS d__latitude, d.longitude AS d__longitude, d.created_at AS d__created_at, d.updated_at AS d__updated_at, d2.id AS d2__id, d2.name AS d2__name, d2.summary AS d2__summary, d2.description AS d2__description, d2.trip_seo_description AS d2__trip_seo_description, d2.lang AS d2__lang, d2.h1_title AS d2__h1_title, d2.meta_title AS d2__meta_title, d2.meta_description AS d2__meta_description, d2.seo_description AS d2__seo_description, d2.meta_keywords AS d2__meta_keywords, d2.slug AS d2__slug, h3.id AS h3__id, h3.code AS h3__code, h3.id_ws AS h3__id_ws, h4.id AS h4__id, h4.name AS h4__name, h4.lang AS h4__lang, h5.id AS h5__id, h5.code AS h5__code, h5.slug AS h5__slug, h5.slug AS h5__0 FROM hotel h LEFT JOIN hotel_translation h2 ON h.id = h2.id LEFT JOIN destination d ON h.destination_id = d.id LEFT JOIN destination_translation d2 ON d.id = d2.id LEFT JOIN hotel_plan h3 ON h.hotel_plan_id = h3.id LEFT JOIN hotel_plan_translation h4 ON h3.id = h4.id LEFT JOIN hotel_chain h5 ON h.hotel_chain_id = h5.id WHERE ((h.hotel_chain_id = h5.id AND h.is_published = 1) AND h.id = '47')
SELECT m.id AS m__id, m.name AS m__name, m.route AS m__route, m2.id AS m2__id, m2.h1_title AS m2__h1_title, m2.meta_title AS m2__meta_title, m2.meta_description AS m2__meta_description, m2.meta_keywords AS m2__meta_keywords, m2.seo_description AS m2__seo_description, m2.lang AS m2__lang FROM metadata m LEFT JOIN metadata_translation m2 ON m.id = m2.id WHERE (m.route = 'hotel/view')
SELECT h.id AS h__id, h.destination_id AS h__destination_id, h.hotel_chain_id AS h__hotel_chain_id, h.provider_id AS h__provider_id, h.airport_id AS h__airport_id, h.taxi_price AS h__taxi_price, h.micro_price AS h__micro_price, h.mini_price AS h__mini_price, h.stars AS h__stars, h.hotel_plan_id AS h__hotel_plan_id, h.name AS h__name, h.name_ws AS h__name_ws, h.code AS h__code, h.dinner_price AS h__dinner_price, h.total_rooms AS h__total_rooms, h.is_promo AS h__is_promo, h.contract_end_at AS h__contract_end_at, h.is_active AS h__is_active, h.is_published AS h__is_published, h.url AS h__url, h.earn_percent AS h__earn_percent, h.phone AS h__phone, h.fax AS h__fax, h.adress AS h__adress, h.id_ws AS h__id_ws, h.code_ws AS h__code_ws, h.is_hotel AS h__is_hotel, h.allow_direct_booking AS h__allow_direct_booking, h.website AS h__website, h.tpd_destination_rank AS h__tpd_destination_rank, h.tpd_destination_hotel_qty AS h__tpd_destination_hotel_qty, h.tpd_review_qty AS h__tpd_review_qty, h.tpd_destination_id AS h__tpd_destination_id, h.tpd_hotel_id AS h__tpd_hotel_id, h.tpd_rating_average AS h__tpd_rating_average, h.tpd_url AS h__tpd_url, h.photo_filename AS h__photo_filename, h.photo_file_updated_at AS h__photo_file_updated_at, h.photo_file_size AS h__photo_file_size, h.cache_pax_price_in_double AS h__cache_pax_price_in_double, h.cache_regular_pax_price_in_double AS h__cache_regular_pax_price_in_double, h.cache_offer_discount AS h__cache_offer_discount, h.min_booking_rooms AS h__min_booking_rooms, h.max_booking_rooms AS h__max_booking_rooms, h.is_villa AS h__is_villa, h.main_photo_filename AS h__main_photo_filename, h.zone_id AS h__zone_id, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.bank_account_id AS h__bank_account_id, h.latitude AS h__latitude, h.longitude AS h__longitude, h.payment_method_id AS h__payment_method_id, h.payment_begin_at AS h__payment_begin_at, h.payment_end_at AS h__payment_end_at, h.created_at AS h__created_at, h.updated_at AS h__updated_at, h2.id AS h2__id, h2.description AS h2__description, h2.facilities AS h2__facilities, h2.tours AS h2__tours, h2.rooms AS h2__rooms, h2.address AS h2__address, h2.photo_title AS h2__photo_title, h2.lang AS h2__lang, h2.slug AS h2__slug, h2.h1_title AS h2__h1_title, h2.meta_title AS h2__meta_title, h2.meta_description AS h2__meta_description, h2.seo_description AS h2__seo_description, h2.meta_keywords AS h2__meta_keywords FROM hotel h LEFT JOIN hotel_translation h2 ON h.id = h2.id WHERE (h2.slug = 'iberostar-tainos' AND h.is_published = '1')
SELECT h.id AS h__id, h.destination_id AS h__destination_id, h.hotel_chain_id AS h__hotel_chain_id, h.provider_id AS h__provider_id, h.airport_id AS h__airport_id, h.taxi_price AS h__taxi_price, h.micro_price AS h__micro_price, h.mini_price AS h__mini_price, h.stars AS h__stars, h.hotel_plan_id AS h__hotel_plan_id, h.name AS h__name, h.name_ws AS h__name_ws, h.code AS h__code, h.dinner_price AS h__dinner_price, h.total_rooms AS h__total_rooms, h.is_promo AS h__is_promo, h.contract_end_at AS h__contract_end_at, h.is_active AS h__is_active, h.is_published AS h__is_published, h.url AS h__url, h.earn_percent AS h__earn_percent, h.phone AS h__phone, h.fax AS h__fax, h.adress AS h__adress, h.id_ws AS h__id_ws, h.code_ws AS h__code_ws, h.is_hotel AS h__is_hotel, h.allow_direct_booking AS h__allow_direct_booking, h.website AS h__website, h.tpd_destination_rank AS h__tpd_destination_rank, h.tpd_destination_hotel_qty AS h__tpd_destination_hotel_qty, h.tpd_review_qty AS h__tpd_review_qty, h.tpd_destination_id AS h__tpd_destination_id, h.tpd_hotel_id AS h__tpd_hotel_id, h.tpd_rating_average AS h__tpd_rating_average, h.tpd_url AS h__tpd_url, h.photo_filename AS h__photo_filename, h.photo_file_updated_at AS h__photo_file_updated_at, h.photo_file_size AS h__photo_file_size, h.cache_pax_price_in_double AS h__cache_pax_price_in_double, h.cache_regular_pax_price_in_double AS h__cache_regular_pax_price_in_double, h.cache_offer_discount AS h__cache_offer_discount, h.min_booking_rooms AS h__min_booking_rooms, h.max_booking_rooms AS h__max_booking_rooms, h.is_villa AS h__is_villa, h.main_photo_filename AS h__main_photo_filename, h.zone_id AS h__zone_id, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.bank_account_id AS h__bank_account_id, h.latitude AS h__latitude, h.longitude AS h__longitude, h.payment_method_id AS h__payment_method_id, h.payment_begin_at AS h__payment_begin_at, h.payment_end_at AS h__payment_end_at, h.created_at AS h__created_at, h.updated_at AS h__updated_at, h2.id AS h2__id, h2.description AS h2__description, h2.facilities AS h2__facilities, h2.tours AS h2__tours, h2.rooms AS h2__rooms, h2.address AS h2__address, h2.photo_title AS h2__photo_title, h2.lang AS h2__lang, h2.slug AS h2__slug, h2.h1_title AS h2__h1_title, h2.meta_title AS h2__meta_title, h2.meta_description AS h2__meta_description, h2.seo_description AS h2__seo_description, h2.meta_keywords AS h2__meta_keywords, d.id AS d__id, d.code AS d__code, d.lat_max AS d__lat_max, d.lng_max AS d__lng_max, d.lat_min AS d__lat_min, d.lng_min AS d__lng_min, d.is_active AS d__is_active, d.is_published AS d__is_published, d.id_ws AS d__id_ws, d.main_photo_filename AS d__main_photo_filename, d.has_free_transfer AS d__has_free_transfer, d.latitude AS d__latitude, d.longitude AS d__longitude, d.created_at AS d__created_at, d.updated_at AS d__updated_at, d2.id AS d2__id, d2.name AS d2__name, d2.summary AS d2__summary, d2.description AS d2__description, d2.trip_seo_description AS d2__trip_seo_description, d2.lang AS d2__lang, d2.h1_title AS d2__h1_title, d2.meta_title AS d2__meta_title, d2.meta_description AS d2__meta_description, d2.seo_description AS d2__seo_description, d2.meta_keywords AS d2__meta_keywords, d2.slug AS d2__slug, h3.id AS h3__id, h3.code AS h3__code, h3.id_ws AS h3__id_ws, h4.id AS h4__id, h4.name AS h4__name, h4.lang AS h4__lang, h5.id AS h5__id, h5.code AS h5__code, h5.slug AS h5__slug, h5.slug AS h5__0 FROM hotel h LEFT JOIN hotel_translation h2 ON h.id = h2.id LEFT JOIN destination d ON h.destination_id = d.id LEFT JOIN destination_translation d2 ON d.id = d2.id LEFT JOIN hotel_plan h3 ON h.hotel_plan_id = h3.id LEFT JOIN hotel_plan_translation h4 ON h3.id = h4.id LEFT JOIN hotel_chain h5 ON h.hotel_chain_id = h5.id WHERE ((h.hotel_chain_id = h5.id AND h.is_published = 1) AND h.id = '47')
SELECT h.id AS h__id, h.room_type_id AS h__room_type_id, h.hotel_id AS h__hotel_id, h.adults AS h__adults, h.children AS h__children, h.minperson AS h__minperson, h.maxperson AS h__maxperson, h.has_unique_price AS h__has_unique_price, h.availability AS h__availability, h.id_ws AS h__id_ws, h.checkin_time AS h__checkin_time, h.checkout_time AS h__checkout_time, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.cache_price_begin_at AS h__cache_price_begin_at, h.cache_price_end_at AS h__cache_price_end_at, h.orden AS h__orden, h.channel_id AS h__channel_id, h.channel_hotel_id AS h__channel_hotel_id, h.channel_room_id AS h__channel_room_id FROM hotel_room h, room_price r, room_type r2 WHERE (h.room_type_id = r2.id AND r.pax_price <> 0 AND r.hotel_room_id = h.id AND h.hotel_id = 47) ORDER BY h.orden ASC, r2.orden ASC
SELECT c.id AS c__id, c.currency AS c__currency, c.code AS c__code, c2.id AS c2__id, c2.name AS c2__name, c2.lang AS c2__lang FROM currency c LEFT JOIN currency_translation c2 ON c.id = c2.id
SELECT h.id AS h__id, h.destination_id AS h__destination_id, h.hotel_chain_id AS h__hotel_chain_id, h.provider_id AS h__provider_id, h.airport_id AS h__airport_id, h.taxi_price AS h__taxi_price, h.micro_price AS h__micro_price, h.mini_price AS h__mini_price, h.stars AS h__stars, h.hotel_plan_id AS h__hotel_plan_id, h.name AS h__name, h.name_ws AS h__name_ws, h.code AS h__code, h.dinner_price AS h__dinner_price, h.total_rooms AS h__total_rooms, h.is_promo AS h__is_promo, h.contract_end_at AS h__contract_end_at, h.is_active AS h__is_active, h.is_published AS h__is_published, h.url AS h__url, h.earn_percent AS h__earn_percent, h.phone AS h__phone, h.fax AS h__fax, h.adress AS h__adress, h.id_ws AS h__id_ws, h.code_ws AS h__code_ws, h.is_hotel AS h__is_hotel, h.allow_direct_booking AS h__allow_direct_booking, h.website AS h__website, h.tpd_destination_rank AS h__tpd_destination_rank, h.tpd_destination_hotel_qty AS h__tpd_destination_hotel_qty, h.tpd_review_qty AS h__tpd_review_qty, h.tpd_destination_id AS h__tpd_destination_id, h.tpd_hotel_id AS h__tpd_hotel_id, h.tpd_rating_average AS h__tpd_rating_average, h.tpd_url AS h__tpd_url, h.photo_filename AS h__photo_filename, h.photo_file_updated_at AS h__photo_file_updated_at, h.photo_file_size AS h__photo_file_size, h.cache_pax_price_in_double AS h__cache_pax_price_in_double, h.cache_regular_pax_price_in_double AS h__cache_regular_pax_price_in_double, h.cache_offer_discount AS h__cache_offer_discount, h.min_booking_rooms AS h__min_booking_rooms, h.max_booking_rooms AS h__max_booking_rooms, h.is_villa AS h__is_villa, h.main_photo_filename AS h__main_photo_filename, h.zone_id AS h__zone_id, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.bank_account_id AS h__bank_account_id, h.latitude AS h__latitude, h.longitude AS h__longitude, h.payment_method_id AS h__payment_method_id, h.payment_begin_at AS h__payment_begin_at, h.payment_end_at AS h__payment_end_at, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel h WHERE (h.id = '47')
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.begin_at AS h__begin_at, h.end_at AS h__end_at FROM hotel_stop_sale h WHERE (((h.begin_at <= '2019-12-14' AND h.end_at >= '2019-12-14') OR (h.begin_at <= '2019-12-15' AND h.end_at >= '2019-12-15') OR (h.begin_at >= '2019-12-14' AND h.end_at <= '2019-12-15')) AND h.hotel_id = '47')
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE (h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-14' AND h.travel_window_end_at >= '2019-12-14') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '694') ORDER BY h.travel_window_begin_at ASC
SELECT o.id AS o__id, o.code AS o__code, o.provider_id AS o__provider_id FROM offer o WHERE (o.id = '114')
SELECT o.id AS o__id, o.name AS o__name, o.description AS o__description, o.lang AS o__lang FROM offer_translation o WHERE (o.id IN ('114'))
SELECT p.id AS p__id, p.provider_id AS p__provider_id, p.product_id AS p__product_id, p.earn_percent AS p__earn_percent, p.currency AS p__currency, p.contract_end_at AS p__contract_end_at, p.calculate_method AS p__calculate_method FROM provider_product p, product p2 WHERE (p2.id = p.product_id AND p.provider_id = '172' AND p2.code = 'HTL')
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.begin_at AS h__begin_at, h.end_at AS h__end_at FROM hotel_stop_sale h WHERE (((h.begin_at <= '2019-12-14' AND h.end_at >= '2019-12-14') OR (h.begin_at <= '2019-12-17' AND h.end_at >= '2019-12-17') OR (h.begin_at >= '2019-12-14' AND h.end_at <= '2019-12-17')) AND h.hotel_id = '47')
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE (h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-14' AND h.travel_window_end_at >= '2019-12-14') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '694') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '14' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '14') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE ((h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-15' AND h.travel_window_end_at >= '2019-12-15') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '694') AND h.provider_id = '172') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '15' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '15') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE ((h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-16' AND h.travel_window_end_at >= '2019-12-16') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '694') AND h.provider_id = '172') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '16' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '16') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.destination_id AS h__destination_id, h.hotel_chain_id AS h__hotel_chain_id, h.provider_id AS h__provider_id, h.airport_id AS h__airport_id, h.taxi_price AS h__taxi_price, h.micro_price AS h__micro_price, h.mini_price AS h__mini_price, h.stars AS h__stars, h.hotel_plan_id AS h__hotel_plan_id, h.name AS h__name, h.name_ws AS h__name_ws, h.code AS h__code, h.dinner_price AS h__dinner_price, h.total_rooms AS h__total_rooms, h.is_promo AS h__is_promo, h.contract_end_at AS h__contract_end_at, h.is_active AS h__is_active, h.is_published AS h__is_published, h.url AS h__url, h.earn_percent AS h__earn_percent, h.phone AS h__phone, h.fax AS h__fax, h.adress AS h__adress, h.id_ws AS h__id_ws, h.code_ws AS h__code_ws, h.is_hotel AS h__is_hotel, h.allow_direct_booking AS h__allow_direct_booking, h.website AS h__website, h.tpd_destination_rank AS h__tpd_destination_rank, h.tpd_destination_hotel_qty AS h__tpd_destination_hotel_qty, h.tpd_review_qty AS h__tpd_review_qty, h.tpd_destination_id AS h__tpd_destination_id, h.tpd_hotel_id AS h__tpd_hotel_id, h.tpd_rating_average AS h__tpd_rating_average, h.tpd_url AS h__tpd_url, h.photo_filename AS h__photo_filename, h.photo_file_updated_at AS h__photo_file_updated_at, h.photo_file_size AS h__photo_file_size, h.cache_pax_price_in_double AS h__cache_pax_price_in_double, h.cache_regular_pax_price_in_double AS h__cache_regular_pax_price_in_double, h.cache_offer_discount AS h__cache_offer_discount, h.min_booking_rooms AS h__min_booking_rooms, h.max_booking_rooms AS h__max_booking_rooms, h.is_villa AS h__is_villa, h.main_photo_filename AS h__main_photo_filename, h.zone_id AS h__zone_id, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.bank_account_id AS h__bank_account_id, h.latitude AS h__latitude, h.longitude AS h__longitude, h.payment_method_id AS h__payment_method_id, h.payment_begin_at AS h__payment_begin_at, h.payment_end_at AS h__payment_end_at, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel h WHERE (h.id = '47')
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.begin_at AS h__begin_at, h.end_at AS h__end_at FROM hotel_stop_sale h WHERE (((h.begin_at <= '2019-12-14' AND h.end_at >= '2019-12-14') OR (h.begin_at <= '2019-12-15' AND h.end_at >= '2019-12-15') OR (h.begin_at >= '2019-12-14' AND h.end_at <= '2019-12-15')) AND h.hotel_id = '47')
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE (h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-14' AND h.travel_window_end_at >= '2019-12-14') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '2104') ORDER BY h.travel_window_begin_at ASC
SELECT o.id AS o__id, o.code AS o__code, o.provider_id AS o__provider_id FROM offer o WHERE (o.id = '114')
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.begin_at AS h__begin_at, h.end_at AS h__end_at FROM hotel_stop_sale h WHERE (((h.begin_at <= '2019-12-14' AND h.end_at >= '2019-12-14') OR (h.begin_at <= '2019-12-17' AND h.end_at >= '2019-12-17') OR (h.begin_at >= '2019-12-14' AND h.end_at <= '2019-12-17')) AND h.hotel_id = '47')
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE (h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-14' AND h.travel_window_end_at >= '2019-12-14') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '2104') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '14' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '14') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE ((h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-15' AND h.travel_window_end_at >= '2019-12-15') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '2104') AND h.provider_id = '172') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '15' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '15') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE ((h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-16' AND h.travel_window_end_at >= '2019-12-16') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '2104') AND h.provider_id = '172') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '16' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '16') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.destination_id AS h__destination_id, h.hotel_chain_id AS h__hotel_chain_id, h.provider_id AS h__provider_id, h.airport_id AS h__airport_id, h.taxi_price AS h__taxi_price, h.micro_price AS h__micro_price, h.mini_price AS h__mini_price, h.stars AS h__stars, h.hotel_plan_id AS h__hotel_plan_id, h.name AS h__name, h.name_ws AS h__name_ws, h.code AS h__code, h.dinner_price AS h__dinner_price, h.total_rooms AS h__total_rooms, h.is_promo AS h__is_promo, h.contract_end_at AS h__contract_end_at, h.is_active AS h__is_active, h.is_published AS h__is_published, h.url AS h__url, h.earn_percent AS h__earn_percent, h.phone AS h__phone, h.fax AS h__fax, h.adress AS h__adress, h.id_ws AS h__id_ws, h.code_ws AS h__code_ws, h.is_hotel AS h__is_hotel, h.allow_direct_booking AS h__allow_direct_booking, h.website AS h__website, h.tpd_destination_rank AS h__tpd_destination_rank, h.tpd_destination_hotel_qty AS h__tpd_destination_hotel_qty, h.tpd_review_qty AS h__tpd_review_qty, h.tpd_destination_id AS h__tpd_destination_id, h.tpd_hotel_id AS h__tpd_hotel_id, h.tpd_rating_average AS h__tpd_rating_average, h.tpd_url AS h__tpd_url, h.photo_filename AS h__photo_filename, h.photo_file_updated_at AS h__photo_file_updated_at, h.photo_file_size AS h__photo_file_size, h.cache_pax_price_in_double AS h__cache_pax_price_in_double, h.cache_regular_pax_price_in_double AS h__cache_regular_pax_price_in_double, h.cache_offer_discount AS h__cache_offer_discount, h.min_booking_rooms AS h__min_booking_rooms, h.max_booking_rooms AS h__max_booking_rooms, h.is_villa AS h__is_villa, h.main_photo_filename AS h__main_photo_filename, h.zone_id AS h__zone_id, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.bank_account_id AS h__bank_account_id, h.latitude AS h__latitude, h.longitude AS h__longitude, h.payment_method_id AS h__payment_method_id, h.payment_begin_at AS h__payment_begin_at, h.payment_end_at AS h__payment_end_at, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel h WHERE (h.id = '47')
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.begin_at AS h__begin_at, h.end_at AS h__end_at FROM hotel_stop_sale h WHERE (((h.begin_at <= '2019-12-14' AND h.end_at >= '2019-12-14') OR (h.begin_at <= '2019-12-15' AND h.end_at >= '2019-12-15') OR (h.begin_at >= '2019-12-14' AND h.end_at <= '2019-12-15')) AND h.hotel_id = '47')
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE (h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-14' AND h.travel_window_end_at >= '2019-12-14') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '53') ORDER BY h.travel_window_begin_at ASC
SELECT o.id AS o__id, o.code AS o__code, o.provider_id AS o__provider_id FROM offer o WHERE (o.id = '114')
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.begin_at AS h__begin_at, h.end_at AS h__end_at FROM hotel_stop_sale h WHERE (((h.begin_at <= '2019-12-14' AND h.end_at >= '2019-12-14') OR (h.begin_at <= '2019-12-17' AND h.end_at >= '2019-12-17') OR (h.begin_at >= '2019-12-14' AND h.end_at <= '2019-12-17')) AND h.hotel_id = '47')
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE (h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-14' AND h.travel_window_end_at >= '2019-12-14') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '53') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '14' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '14') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE ((h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-15' AND h.travel_window_end_at >= '2019-12-15') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '53') AND h.provider_id = '172') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '15' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '15') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE ((h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-16' AND h.travel_window_end_at >= '2019-12-16') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '53') AND h.provider_id = '172') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '16' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '16') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.destination_id AS h__destination_id, h.hotel_chain_id AS h__hotel_chain_id, h.provider_id AS h__provider_id, h.airport_id AS h__airport_id, h.taxi_price AS h__taxi_price, h.micro_price AS h__micro_price, h.mini_price AS h__mini_price, h.stars AS h__stars, h.hotel_plan_id AS h__hotel_plan_id, h.name AS h__name, h.name_ws AS h__name_ws, h.code AS h__code, h.dinner_price AS h__dinner_price, h.total_rooms AS h__total_rooms, h.is_promo AS h__is_promo, h.contract_end_at AS h__contract_end_at, h.is_active AS h__is_active, h.is_published AS h__is_published, h.url AS h__url, h.earn_percent AS h__earn_percent, h.phone AS h__phone, h.fax AS h__fax, h.adress AS h__adress, h.id_ws AS h__id_ws, h.code_ws AS h__code_ws, h.is_hotel AS h__is_hotel, h.allow_direct_booking AS h__allow_direct_booking, h.website AS h__website, h.tpd_destination_rank AS h__tpd_destination_rank, h.tpd_destination_hotel_qty AS h__tpd_destination_hotel_qty, h.tpd_review_qty AS h__tpd_review_qty, h.tpd_destination_id AS h__tpd_destination_id, h.tpd_hotel_id AS h__tpd_hotel_id, h.tpd_rating_average AS h__tpd_rating_average, h.tpd_url AS h__tpd_url, h.photo_filename AS h__photo_filename, h.photo_file_updated_at AS h__photo_file_updated_at, h.photo_file_size AS h__photo_file_size, h.cache_pax_price_in_double AS h__cache_pax_price_in_double, h.cache_regular_pax_price_in_double AS h__cache_regular_pax_price_in_double, h.cache_offer_discount AS h__cache_offer_discount, h.min_booking_rooms AS h__min_booking_rooms, h.max_booking_rooms AS h__max_booking_rooms, h.is_villa AS h__is_villa, h.main_photo_filename AS h__main_photo_filename, h.zone_id AS h__zone_id, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.bank_account_id AS h__bank_account_id, h.latitude AS h__latitude, h.longitude AS h__longitude, h.payment_method_id AS h__payment_method_id, h.payment_begin_at AS h__payment_begin_at, h.payment_end_at AS h__payment_end_at, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel h WHERE (h.id = '47')
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.begin_at AS h__begin_at, h.end_at AS h__end_at FROM hotel_stop_sale h WHERE (((h.begin_at <= '2019-12-14' AND h.end_at >= '2019-12-14') OR (h.begin_at <= '2019-12-15' AND h.end_at >= '2019-12-15') OR (h.begin_at >= '2019-12-14' AND h.end_at <= '2019-12-15')) AND h.hotel_id = '47')
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE (h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-14' AND h.travel_window_end_at >= '2019-12-14') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '2106') ORDER BY h.travel_window_begin_at ASC
SELECT o.id AS o__id, o.code AS o__code, o.provider_id AS o__provider_id FROM offer o WHERE (o.id = '114')
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.begin_at AS h__begin_at, h.end_at AS h__end_at FROM hotel_stop_sale h WHERE (((h.begin_at <= '2019-12-14' AND h.end_at >= '2019-12-14') OR (h.begin_at <= '2019-12-17' AND h.end_at >= '2019-12-17') OR (h.begin_at >= '2019-12-14' AND h.end_at <= '2019-12-17')) AND h.hotel_id = '47')
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE (h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-14' AND h.travel_window_end_at >= '2019-12-14') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '2106') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '14' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '14') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE ((h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-15' AND h.travel_window_end_at >= '2019-12-15') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '2106') AND h.provider_id = '172') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '15' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '15') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE ((h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-16' AND h.travel_window_end_at >= '2019-12-16') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '2106') AND h.provider_id = '172') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '16' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '16') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h, hotel_room h2 WHERE (h.hotel_room_id = h2.id AND h.end_at >= '2019-12-15' AND h2.hotel_id = '47')
SELECT DISTINCT h3.id FROM hotel_photo h3 LEFT JOIN hotel_photo_translation h4 ON h3.id = h4.id WHERE (h3.filename <> '' AND h3.hotel_id = 47 AND h3.version = 2) ORDER BY h3.is_promo DESC, h3.filename ASC LIMIT 50
SELECT h.id AS h__id, h.filename AS h__filename, h.hotel_id AS h__hotel_id, h.is_promo AS h__is_promo, h.version AS h__version, h2.id AS h2__id, h2.title AS h2__title, h2.lang AS h2__lang FROM hotel_photo h LEFT JOIN hotel_photo_translation h2 ON h.id = h2.id WHERE h.id IN ('14423', '14433', '14405', '14421', '14407', '14415', '14417', '14403', '14425', '14429', '14419', '14409', '14413', '14401', '14431', '14435', '17623', '14411', '17625', '14427') AND (h.filename <> '' AND h.hotel_id = 47 AND h.version = 2) ORDER BY h.is_promo DESC, h.filename ASC
SELECT h.id AS h__id, h.room_type_id AS h__room_type_id, h.hotel_id AS h__hotel_id, h.adults AS h__adults, h.children AS h__children, h.minperson AS h__minperson, h.maxperson AS h__maxperson, h.has_unique_price AS h__has_unique_price, h.availability AS h__availability, h.id_ws AS h__id_ws, h.checkin_time AS h__checkin_time, h.checkout_time AS h__checkout_time, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.cache_price_begin_at AS h__cache_price_begin_at, h.cache_price_end_at AS h__cache_price_end_at, h.orden AS h__orden, h.channel_id AS h__channel_id, h.channel_hotel_id AS h__channel_hotel_id, h.channel_room_id AS h__channel_room_id FROM hotel_room h, room_price r WHERE (r.pax_price <> 0 AND r.hotel_room_id = h.id AND h.hotel_id = 47) ORDER BY r.pax_price ASC, r.season_id ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.begin_at AS h__begin_at, h.end_at AS h__end_at FROM hotel_stop_sale h WHERE (((h.begin_at <= '2019-12-14' AND h.end_at >= '2019-12-14') OR (h.begin_at <= '2019-12-17' AND h.end_at >= '2019-12-17') OR (h.begin_at >= '2019-12-14' AND h.end_at <= '2019-12-17')) AND h.hotel_id = '47')
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE (h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-14' AND h.travel_window_end_at >= '2019-12-14') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '53') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '14' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '14') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE ((h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-15' AND h.travel_window_end_at >= '2019-12-15') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '53') AND h.provider_id = '172') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '15' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '15') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE ((h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-16' AND h.travel_window_end_at >= '2019-12-16') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '53') AND h.provider_id = '172') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '16' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '16') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT f.id AS f__id, f2.id AS f2__id, f2.lang AS f2__lang, f2.name AS f2__name, f3.id AS f3__id, f4.id AS f4__id, f4.lang AS f4__lang, f4.name AS f4__name FROM facility f LEFT JOIN facility_translation f2 ON f.id = f2.id LEFT JOIN hotel_facility h ON f.id = h.facility_id LEFT JOIN facility_type f3 ON f.facility_type_id = f3.id LEFT JOIN facility_type_translation f4 ON f3.id = f4.id WHERE (h.hotel_id = '47' AND (f.facility_type_id = f3.id AND f3.id = f4.id AND f.id = f2.id AND f3.id = f.facility_type_id AND f2.name <> "")) ORDER BY f.facility_type_id ASC, f2.name ASC
SELECT c.id AS c__id, c.is_active AS c__is_active, c.is_published AS c__is_published, c.is_promo AS c__is_promo, c.price_base AS c__price_base, c.price_adult AS c__price_adult, c.price_child AS c__price_child, c.destination_id AS c__destination_id, c.earn_percent AS c__earn_percent, c.orden AS c__orden, c.monday AS c__monday, c.tuesday AS c__tuesday, c.wednesday AS c__wednesday, c.thursday AS c__thursday, c.friday AS c__friday, c.saturday AS c__saturday, c.sunday AS c__sunday, c.provider_id AS c__provider_id, c.min_persons AS c__min_persons, c.max_persons AS c__max_persons, c.require_passport AS c__require_passport, c.is_private AS c__is_private, c.photo_filename AS c__photo_filename, c.photo_file_updated_at AS c__photo_file_updated_at, c.photo_file_size AS c__photo_file_size, c.main_photo_filename AS c__main_photo_filename, c.departure_time AS c__departure_time, c.duration AS c__duration, c.event_time AS c__event_time, c.event_date AS c__event_date, c.is_event AS c__is_event, c.has_transfer AS c__has_transfer, c.created_at AS c__created_at, c.updated_at AS c__updated_at, c.payment_method_id AS c__payment_method_id, c.payment_begin_at AS c__payment_begin_at, c.payment_end_at AS c__payment_end_at, c.latitude AS c__latitude, c.longitude AS c__longitude FROM cms_trip c WHERE (c.destination_id = '2' AND (ifnull(c.is_active, 0) = 1 AND ifnull(c.is_published, 0) = 1)) ORDER BY ifnull(c.is_promo, 0) desc LIMIT 3
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.title AS h__title, h.author AS h__author, h.location AS h__location, h.email AS h__email, h.created_at AS h__created_at, h.rating AS h__rating, h.culture AS h__culture, h.summary AS h__summary, h.is_published AS h__is_published FROM hotel_review h WHERE (h.hotel_id = '47' AND ifnull(h.is_published, 0) = 1) ORDER BY h.id desc LIMIT 5
select d.id from destination d where ifnull(d.has_free_transfer, false) <> true;
SELECT t.id AS t__id, t.departure_destination_model AS t__departure_destination_model, t.departure_destination_id AS t__departure_destination_id, t.arrival_destination_model AS t__arrival_destination_model, t.arrival_destination_id AS t__arrival_destination_id, t.type AS t__type, t.collective_type AS t__collective_type, t.taxi_price12 AS t__taxi_price12, t.micro_price35 AS t__micro_price35, t.mini_price610 AS t__mini_price610, t.mini_price1115 AS t__mini_price1115, t.mini_price1624 AS t__mini_price1624, t.bus_private_price34 AS t__bus_private_price34, t.bus_private_price3540 AS t__bus_private_price3540, t.bus_price AS t__bus_price, t.provider_id AS t__provider_id, t.earn_percent AS t__earn_percent, t.departure_at AS t__departure_at, t.distance AS t__distance, t.is_active AS t__is_active, t.is_published AS t__is_published FROM transfer t WHERE (t.departure_destination_model = 'Airport' AND t.departure_destination_id = '3' AND ((t.arrival_destination_model = 'Destination' AND t.arrival_destination_id = '2') OR (t.arrival_destination_model = 'Hotel' AND t.arrival_destination_id = '47')) AND t.type = '2' AND ifnull(t.is_active, 0) <> 0 AND ifnull(t.is_published, 0) <> 0)
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.begin_at AS h__begin_at, h.end_at AS h__end_at FROM hotel_stop_sale h WHERE (((h.begin_at <= '2019-12-14' AND h.end_at >= '2019-12-14') OR (h.begin_at <= '2019-12-17' AND h.end_at >= '2019-12-17') OR (h.begin_at >= '2019-12-14' AND h.end_at <= '2019-12-17')) AND h.hotel_id = '47')
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE (h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-14' AND h.travel_window_end_at >= '2019-12-14') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '694') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '14' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '14') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE ((h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-15' AND h.travel_window_end_at >= '2019-12-15') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '694') AND h.provider_id = '172') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '15' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '15') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE ((h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-16' AND h.travel_window_end_at >= '2019-12-16') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '694') AND h.provider_id = '172') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '16' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '16') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.begin_at AS h__begin_at, h.end_at AS h__end_at FROM hotel_stop_sale h WHERE (((h.begin_at <= '2019-12-14' AND h.end_at >= '2019-12-14') OR (h.begin_at <= '2019-12-17' AND h.end_at >= '2019-12-17') OR (h.begin_at >= '2019-12-14' AND h.end_at <= '2019-12-17')) AND h.hotel_id = '47')
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE (h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-14' AND h.travel_window_end_at >= '2019-12-14') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '2104') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '14' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '14') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE ((h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-15' AND h.travel_window_end_at >= '2019-12-15') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '2104') AND h.provider_id = '172') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '15' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '15') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE ((h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-16' AND h.travel_window_end_at >= '2019-12-16') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '2104') AND h.provider_id = '172') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '16' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '16') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.begin_at AS h__begin_at, h.end_at AS h__end_at FROM hotel_stop_sale h WHERE (((h.begin_at <= '2019-12-14' AND h.end_at >= '2019-12-14') OR (h.begin_at <= '2019-12-17' AND h.end_at >= '2019-12-17') OR (h.begin_at >= '2019-12-14' AND h.end_at <= '2019-12-17')) AND h.hotel_id = '47')
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE (h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-14' AND h.travel_window_end_at >= '2019-12-14') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '694') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '14' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '14') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE ((h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-15' AND h.travel_window_end_at >= '2019-12-15') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '694') AND h.provider_id = '172') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '15' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '15') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE ((h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-16' AND h.travel_window_end_at >= '2019-12-16') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '694') AND h.provider_id = '172') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '16' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '16') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.begin_at AS h__begin_at, h.end_at AS h__end_at FROM hotel_stop_sale h WHERE (((h.begin_at <= '2019-12-14' AND h.end_at >= '2019-12-14') OR (h.begin_at <= '2019-12-17' AND h.end_at >= '2019-12-17') OR (h.begin_at >= '2019-12-14' AND h.end_at <= '2019-12-17')) AND h.hotel_id = '47')
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE (h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-14' AND h.travel_window_end_at >= '2019-12-14') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '53') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '14' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '14') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE ((h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-15' AND h.travel_window_end_at >= '2019-12-15') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '53') AND h.provider_id = '172') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '15' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '15') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE ((h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-16' AND h.travel_window_end_at >= '2019-12-16') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '53') AND h.provider_id = '172') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '16' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '16') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.begin_at AS h__begin_at, h.end_at AS h__end_at FROM hotel_stop_sale h WHERE (((h.begin_at <= '2019-12-14' AND h.end_at >= '2019-12-14') OR (h.begin_at <= '2019-12-17' AND h.end_at >= '2019-12-17') OR (h.begin_at >= '2019-12-14' AND h.end_at <= '2019-12-17')) AND h.hotel_id = '47')
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE (h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-14' AND h.travel_window_end_at >= '2019-12-14') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '53') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '14' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '14') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE ((h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-15' AND h.travel_window_end_at >= '2019-12-15') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '53') AND h.provider_id = '172') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '15' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '15') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE ((h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-16' AND h.travel_window_end_at >= '2019-12-16') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '53') AND h.provider_id = '172') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '16' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '16') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.begin_at AS h__begin_at, h.end_at AS h__end_at FROM hotel_stop_sale h WHERE (((h.begin_at <= '2019-12-14' AND h.end_at >= '2019-12-14') OR (h.begin_at <= '2019-12-17' AND h.end_at >= '2019-12-17') OR (h.begin_at >= '2019-12-14' AND h.end_at <= '2019-12-17')) AND h.hotel_id = '47')
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE (h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-14' AND h.travel_window_end_at >= '2019-12-14') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '2106') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '14' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '14') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE ((h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-15' AND h.travel_window_end_at >= '2019-12-15') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '2106') AND h.provider_id = '172') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '15' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '15') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE ((h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-16' AND h.travel_window_end_at >= '2019-12-16') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '2106') AND h.provider_id = '172') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '16' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '16') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.begin_at AS h__begin_at, h.end_at AS h__end_at FROM hotel_stop_sale h WHERE (((h.begin_at <= '2019-12-14' AND h.end_at >= '2019-12-14') OR (h.begin_at <= '2019-12-17' AND h.end_at >= '2019-12-17') OR (h.begin_at >= '2019-12-14' AND h.end_at <= '2019-12-17')) AND h.hotel_id = '47')
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE (h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-14' AND h.travel_window_end_at >= '2019-12-14') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '2104') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '14' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '14') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE ((h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-15' AND h.travel_window_end_at >= '2019-12-15') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '2104') AND h.provider_id = '172') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '15' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '15') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE ((h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-16' AND h.travel_window_end_at >= '2019-12-16') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '2104') AND h.provider_id = '172') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '16' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '16') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.begin_at AS h__begin_at, h.end_at AS h__end_at FROM hotel_stop_sale h WHERE (((h.begin_at <= '2019-12-14' AND h.end_at >= '2019-12-14') OR (h.begin_at <= '2019-12-17' AND h.end_at >= '2019-12-17') OR (h.begin_at >= '2019-12-14' AND h.end_at <= '2019-12-17')) AND h.hotel_id = '47')
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE (h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-14' AND h.travel_window_end_at >= '2019-12-14') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '694') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '14' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '14') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE ((h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-15' AND h.travel_window_end_at >= '2019-12-15') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '694') AND h.provider_id = '172') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '15' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '15') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE ((h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-16' AND h.travel_window_end_at >= '2019-12-16') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '694') AND h.provider_id = '172') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '16' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '16') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.begin_at AS h__begin_at, h.end_at AS h__end_at FROM hotel_stop_sale h WHERE (((h.begin_at <= '2019-12-14' AND h.end_at >= '2019-12-14') OR (h.begin_at <= '2019-12-17' AND h.end_at >= '2019-12-17') OR (h.begin_at >= '2019-12-14' AND h.end_at <= '2019-12-17')) AND h.hotel_id = '47')
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE (h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-14' AND h.travel_window_end_at >= '2019-12-14') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '694') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '14' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '14') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE ((h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-15' AND h.travel_window_end_at >= '2019-12-15') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '694') AND h.provider_id = '172') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '15' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '15') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE ((h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-16' AND h.travel_window_end_at >= '2019-12-16') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '694') AND h.provider_id = '172') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '16' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '16') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.begin_at AS h__begin_at, h.end_at AS h__end_at FROM hotel_stop_sale h WHERE (((h.begin_at <= '2019-12-14' AND h.end_at >= '2019-12-14') OR (h.begin_at <= '2019-12-17' AND h.end_at >= '2019-12-17') OR (h.begin_at >= '2019-12-14' AND h.end_at <= '2019-12-17')) AND h.hotel_id = '47')
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE (h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-14' AND h.travel_window_end_at >= '2019-12-14') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '2106') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '14' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '14') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE ((h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-15' AND h.travel_window_end_at >= '2019-12-15') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '2106') AND h.provider_id = '172') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '15' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '15') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE ((h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-16' AND h.travel_window_end_at >= '2019-12-16') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '2106') AND h.provider_id = '172') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '16' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '16') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.begin_at AS h__begin_at, h.end_at AS h__end_at FROM hotel_stop_sale h WHERE (((h.begin_at <= '2019-12-14' AND h.end_at >= '2019-12-14') OR (h.begin_at <= '2019-12-17' AND h.end_at >= '2019-12-17') OR (h.begin_at >= '2019-12-14' AND h.end_at <= '2019-12-17')) AND h.hotel_id = '47')
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE (h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-14' AND h.travel_window_end_at >= '2019-12-14') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '2104') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '14' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '14') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE ((h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-15' AND h.travel_window_end_at >= '2019-12-15') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '2104') AND h.provider_id = '172') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '15' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '15') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE ((h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-16' AND h.travel_window_end_at >= '2019-12-16') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '2104') AND h.provider_id = '172') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '16' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '16') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.begin_at AS h__begin_at, h.end_at AS h__end_at FROM hotel_stop_sale h WHERE (((h.begin_at <= '2019-12-14' AND h.end_at >= '2019-12-14') OR (h.begin_at <= '2019-12-17' AND h.end_at >= '2019-12-17') OR (h.begin_at >= '2019-12-14' AND h.end_at <= '2019-12-17')) AND h.hotel_id = '47')
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE (h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-14' AND h.travel_window_end_at >= '2019-12-14') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '694') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '14' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '14') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE ((h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-15' AND h.travel_window_end_at >= '2019-12-15') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '694') AND h.provider_id = '172') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '15' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '15') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE ((h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-16' AND h.travel_window_end_at >= '2019-12-16') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '694') AND h.provider_id = '172') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '16' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '16') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h LEFT JOIN hotel_room_offer_date h2 ON h.id = h2.hotel_room_offer_id WHERE (h2.hotel_room_offer_id = h.id AND h2.end_at >= '2019-12-15' AND h.hotel_room_id = '53') ORDER BY h2.begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.begin_at AS h__begin_at, h.end_at AS h__end_at FROM hotel_stop_sale h WHERE (((h.begin_at <= '2019-12-14' AND h.end_at >= '2019-12-14') OR (h.begin_at <= '2019-12-17' AND h.end_at >= '2019-12-17') OR (h.begin_at >= '2019-12-14' AND h.end_at <= '2019-12-17')) AND h.hotel_id = '47')
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE (h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-14' AND h.travel_window_end_at >= '2019-12-14') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '53') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '14' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '14') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE ((h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-15' AND h.travel_window_end_at >= '2019-12-15') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '53') AND h.provider_id = '172') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '15' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '15') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE ((h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-16' AND h.travel_window_end_at >= '2019-12-16') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '53') AND h.provider_id = '172') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '16' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '16') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.begin_at AS h__begin_at, h.end_at AS h__end_at FROM hotel_stop_sale h WHERE (((h.begin_at <= '2019-12-14' AND h.end_at >= '2019-12-14') OR (h.begin_at <= '2019-12-17' AND h.end_at >= '2019-12-17') OR (h.begin_at >= '2019-12-14' AND h.end_at <= '2019-12-17')) AND h.hotel_id = '47')
SELECT r.id AS r__id, r.hotel_room_id AS r__hotel_room_id, r.season_id AS r__season_id, r.pax_price AS r__pax_price, r.suplement_price AS r__suplement_price, r.third_pax_price AS r__third_pax_price, r.child_pax_price AS r__child_pax_price, r.child_pax_price2 AS r__child_pax_price2, r.second_child_pax_price2 AS r__second_child_pax_price2, r.provider_id AS r__provider_id, r.early_booking_days AS r__early_booking_days, r.early_booking_date_begin_at AS r__early_booking_date_begin_at, r.early_booking_date_end_at AS r__early_booking_date_end_at, r.early_booking_discount AS r__early_booking_discount, r.created_at AS r__created_at, r.updated_at AS r__updated_at, s.id AS s__id, s.name AS s__name, s.orden AS s__orden, s.is_for_car AS s__is_for_car, p.id AS p__id, p.name AS p__name, p.is_active AS p__is_active, p.website AS p__website, p.bank_account_id AS p__bank_account_id, p.flow_id AS p__flow_id FROM room_price r LEFT JOIN season s ON r.season_id = s.id LEFT JOIN provider p ON r.provider_id = p.id LEFT JOIN hotel_room h ON r.hotel_room_id = h.id, hotel_season h2 WHERE (s.id = r.season_id AND h2.season_id = r.season_id AND (h2.begin_at <= '2019-12-14' AND h2.end_at >= '2019-12-14') AND h2.hotel_id = '47' AND r.hotel_room_id = '53' AND r.provider_id = h2.provider_id) ORDER BY r.season_id, r.id ASC, h2.season_id DESC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.season_id AS h__season_id, h.release_days AS h__release_days, h.min_book_days AS h__min_book_days, h.provider_id AS h__provider_id FROM hotel_season h WHERE ((h.begin_at <= '2019-12-14' AND h.end_at >= '2019-12-14') AND h.hotel_id = '47' AND h.provider_id = '172') ORDER BY h.season_id DESC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '14' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '14') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT r.id AS r__id, r.hotel_room_id AS r__hotel_room_id, r.season_id AS r__season_id, r.pax_price AS r__pax_price, r.suplement_price AS r__suplement_price, r.third_pax_price AS r__third_pax_price, r.child_pax_price AS r__child_pax_price, r.child_pax_price2 AS r__child_pax_price2, r.second_child_pax_price2 AS r__second_child_pax_price2, r.provider_id AS r__provider_id, r.early_booking_days AS r__early_booking_days, r.early_booking_date_begin_at AS r__early_booking_date_begin_at, r.early_booking_date_end_at AS r__early_booking_date_end_at, r.early_booking_discount AS r__early_booking_discount, r.created_at AS r__created_at, r.updated_at AS r__updated_at, s.id AS s__id, s.name AS s__name, s.orden AS s__orden, s.is_for_car AS s__is_for_car, p.id AS p__id, p.name AS p__name, p.is_active AS p__is_active, p.website AS p__website, p.bank_account_id AS p__bank_account_id, p.flow_id AS p__flow_id FROM room_price r LEFT JOIN season s ON r.season_id = s.id LEFT JOIN provider p ON r.provider_id = p.id LEFT JOIN hotel_room h ON r.hotel_room_id = h.id, hotel_season h2 WHERE ((s.id = r.season_id AND h2.season_id = r.season_id AND (h2.begin_at <= '2019-12-15' AND h2.end_at >= '2019-12-15') AND h2.hotel_id = '47' AND r.hotel_room_id = '53' AND r.provider_id = h2.provider_id) AND h2.provider_id = '172') ORDER BY r.season_id, r.id ASC, h2.season_id DESC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '15' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '15') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT r.id AS r__id, r.hotel_room_id AS r__hotel_room_id, r.season_id AS r__season_id, r.pax_price AS r__pax_price, r.suplement_price AS r__suplement_price, r.third_pax_price AS r__third_pax_price, r.child_pax_price AS r__child_pax_price, r.child_pax_price2 AS r__child_pax_price2, r.second_child_pax_price2 AS r__second_child_pax_price2, r.provider_id AS r__provider_id, r.early_booking_days AS r__early_booking_days, r.early_booking_date_begin_at AS r__early_booking_date_begin_at, r.early_booking_date_end_at AS r__early_booking_date_end_at, r.early_booking_discount AS r__early_booking_discount, r.created_at AS r__created_at, r.updated_at AS r__updated_at, s.id AS s__id, s.name AS s__name, s.orden AS s__orden, s.is_for_car AS s__is_for_car, p.id AS p__id, p.name AS p__name, p.is_active AS p__is_active, p.website AS p__website, p.bank_account_id AS p__bank_account_id, p.flow_id AS p__flow_id FROM room_price r LEFT JOIN season s ON r.season_id = s.id LEFT JOIN provider p ON r.provider_id = p.id LEFT JOIN hotel_room h ON r.hotel_room_id = h.id, hotel_season h2 WHERE ((s.id = r.season_id AND h2.season_id = r.season_id AND (h2.begin_at <= '2019-12-16' AND h2.end_at >= '2019-12-16') AND h2.hotel_id = '47' AND r.hotel_room_id = '53' AND r.provider_id = h2.provider_id) AND h2.provider_id = '172') ORDER BY r.season_id, r.id ASC, h2.season_id DESC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '16' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '16') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.begin_at AS h__begin_at, h.end_at AS h__end_at FROM hotel_stop_sale h WHERE (((h.begin_at <= '2019-12-14' AND h.end_at >= '2019-12-14') OR (h.begin_at <= '2019-12-17' AND h.end_at >= '2019-12-17') OR (h.begin_at >= '2019-12-14' AND h.end_at <= '2019-12-17')) AND h.hotel_id = '47')
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE (h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-14' AND h.travel_window_end_at >= '2019-12-14') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '53') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '14' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '14') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE ((h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-15' AND h.travel_window_end_at >= '2019-12-15') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '53') AND h.provider_id = '172') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '15' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '15') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE ((h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-16' AND h.travel_window_end_at >= '2019-12-16') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '53') AND h.provider_id = '172') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '16' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '16') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.begin_at AS h__begin_at, h.end_at AS h__end_at FROM hotel_stop_sale h WHERE (((h.begin_at <= '2019-12-14' AND h.end_at >= '2019-12-14') OR (h.begin_at <= '2019-12-17' AND h.end_at >= '2019-12-17') OR (h.begin_at >= '2019-12-14' AND h.end_at <= '2019-12-17')) AND h.hotel_id = '47')
SELECT r.id AS r__id, r.hotel_room_id AS r__hotel_room_id, r.season_id AS r__season_id, r.pax_price AS r__pax_price, r.suplement_price AS r__suplement_price, r.third_pax_price AS r__third_pax_price, r.child_pax_price AS r__child_pax_price, r.child_pax_price2 AS r__child_pax_price2, r.second_child_pax_price2 AS r__second_child_pax_price2, r.provider_id AS r__provider_id, r.early_booking_days AS r__early_booking_days, r.early_booking_date_begin_at AS r__early_booking_date_begin_at, r.early_booking_date_end_at AS r__early_booking_date_end_at, r.early_booking_discount AS r__early_booking_discount, r.created_at AS r__created_at, r.updated_at AS r__updated_at, s.id AS s__id, s.name AS s__name, s.orden AS s__orden, s.is_for_car AS s__is_for_car, p.id AS p__id, p.name AS p__name, p.is_active AS p__is_active, p.website AS p__website, p.bank_account_id AS p__bank_account_id, p.flow_id AS p__flow_id FROM room_price r LEFT JOIN season s ON r.season_id = s.id LEFT JOIN provider p ON r.provider_id = p.id LEFT JOIN hotel_room h ON r.hotel_room_id = h.id, hotel_season h2 WHERE (s.id = r.season_id AND h2.season_id = r.season_id AND (h2.begin_at <= '2019-12-14' AND h2.end_at >= '2019-12-14') AND h2.hotel_id = '47' AND r.hotel_room_id = '53' AND r.provider_id = h2.provider_id) ORDER BY r.season_id, r.id ASC, h2.season_id DESC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.season_id AS h__season_id, h.release_days AS h__release_days, h.min_book_days AS h__min_book_days, h.provider_id AS h__provider_id FROM hotel_season h WHERE ((h.begin_at <= '2019-12-14' AND h.end_at >= '2019-12-14') AND h.hotel_id = '47' AND h.provider_id = '172') ORDER BY h.season_id DESC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '14' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '14') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT r.id AS r__id, r.hotel_room_id AS r__hotel_room_id, r.season_id AS r__season_id, r.pax_price AS r__pax_price, r.suplement_price AS r__suplement_price, r.third_pax_price AS r__third_pax_price, r.child_pax_price AS r__child_pax_price, r.child_pax_price2 AS r__child_pax_price2, r.second_child_pax_price2 AS r__second_child_pax_price2, r.provider_id AS r__provider_id, r.early_booking_days AS r__early_booking_days, r.early_booking_date_begin_at AS r__early_booking_date_begin_at, r.early_booking_date_end_at AS r__early_booking_date_end_at, r.early_booking_discount AS r__early_booking_discount, r.created_at AS r__created_at, r.updated_at AS r__updated_at, s.id AS s__id, s.name AS s__name, s.orden AS s__orden, s.is_for_car AS s__is_for_car, p.id AS p__id, p.name AS p__name, p.is_active AS p__is_active, p.website AS p__website, p.bank_account_id AS p__bank_account_id, p.flow_id AS p__flow_id FROM room_price r LEFT JOIN season s ON r.season_id = s.id LEFT JOIN provider p ON r.provider_id = p.id LEFT JOIN hotel_room h ON r.hotel_room_id = h.id, hotel_season h2 WHERE ((s.id = r.season_id AND h2.season_id = r.season_id AND (h2.begin_at <= '2019-12-15' AND h2.end_at >= '2019-12-15') AND h2.hotel_id = '47' AND r.hotel_room_id = '53' AND r.provider_id = h2.provider_id) AND h2.provider_id = '172') ORDER BY r.season_id, r.id ASC, h2.season_id DESC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '15' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '15') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT r.id AS r__id, r.hotel_room_id AS r__hotel_room_id, r.season_id AS r__season_id, r.pax_price AS r__pax_price, r.suplement_price AS r__suplement_price, r.third_pax_price AS r__third_pax_price, r.child_pax_price AS r__child_pax_price, r.child_pax_price2 AS r__child_pax_price2, r.second_child_pax_price2 AS r__second_child_pax_price2, r.provider_id AS r__provider_id, r.early_booking_days AS r__early_booking_days, r.early_booking_date_begin_at AS r__early_booking_date_begin_at, r.early_booking_date_end_at AS r__early_booking_date_end_at, r.early_booking_discount AS r__early_booking_discount, r.created_at AS r__created_at, r.updated_at AS r__updated_at, s.id AS s__id, s.name AS s__name, s.orden AS s__orden, s.is_for_car AS s__is_for_car, p.id AS p__id, p.name AS p__name, p.is_active AS p__is_active, p.website AS p__website, p.bank_account_id AS p__bank_account_id, p.flow_id AS p__flow_id FROM room_price r LEFT JOIN season s ON r.season_id = s.id LEFT JOIN provider p ON r.provider_id = p.id LEFT JOIN hotel_room h ON r.hotel_room_id = h.id, hotel_season h2 WHERE ((s.id = r.season_id AND h2.season_id = r.season_id AND (h2.begin_at <= '2019-12-16' AND h2.end_at >= '2019-12-16') AND h2.hotel_id = '47' AND r.hotel_room_id = '53' AND r.provider_id = h2.provider_id) AND h2.provider_id = '172') ORDER BY r.season_id, r.id ASC, h2.season_id DESC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '16' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '16') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT r.id AS r__id, r.filename AS r__filename, r.hotel_room_id AS r__hotel_room_id, r.is_promo AS r__is_promo, r.version AS r__version FROM room_photo r WHERE (r.is_promo = 1 AND r.hotel_room_id = 53) ORDER BY r.is_promo DESC
SELECT r.id AS r__id, r.title AS r__title, r.lang AS r__lang FROM room_photo_translation r WHERE (r.id IN ('1641'))
SELECT r.id AS r__id, r.code AS r__code, r.orden AS r__orden FROM room_type r WHERE (r.id = '436')
SELECT r.id AS r__id, r.name AS r__name, r.lang AS r__lang FROM room_type_translation r WHERE (r.id IN ('436'))
SELECT f.id AS f__id, f2.id AS f2__id, f2.lang AS f2__lang, f2.name AS f2__name FROM facility f LEFT JOIN facility_translation f2 ON f.id = f2.id LEFT JOIN hotel_room_facility h ON f.id = h.facility_id WHERE (f2.name <> "" AND h.hotel_room_id = '53' AND f.facility_type_id = 2) ORDER BY f2.name ASC
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h LEFT JOIN hotel_room_offer_date h2 ON h.id = h2.hotel_room_offer_id WHERE (h2.hotel_room_offer_id = h.id AND h2.end_at >= '2019-12-15' AND h.hotel_room_id = '2106') ORDER BY h2.begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.begin_at AS h__begin_at, h.end_at AS h__end_at FROM hotel_stop_sale h WHERE (((h.begin_at <= '2019-12-14' AND h.end_at >= '2019-12-14') OR (h.begin_at <= '2019-12-17' AND h.end_at >= '2019-12-17') OR (h.begin_at >= '2019-12-14' AND h.end_at <= '2019-12-17')) AND h.hotel_id = '47')
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE (h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-14' AND h.travel_window_end_at >= '2019-12-14') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '2106') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '14' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '14') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE ((h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-15' AND h.travel_window_end_at >= '2019-12-15') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '2106') AND h.provider_id = '172') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '15' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '15') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE ((h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-16' AND h.travel_window_end_at >= '2019-12-16') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '2106') AND h.provider_id = '172') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '16' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '16') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.begin_at AS h__begin_at, h.end_at AS h__end_at FROM hotel_stop_sale h WHERE (((h.begin_at <= '2019-12-14' AND h.end_at >= '2019-12-14') OR (h.begin_at <= '2019-12-17' AND h.end_at >= '2019-12-17') OR (h.begin_at >= '2019-12-14' AND h.end_at <= '2019-12-17')) AND h.hotel_id = '47')
SELECT r.id AS r__id, r.hotel_room_id AS r__hotel_room_id, r.season_id AS r__season_id, r.pax_price AS r__pax_price, r.suplement_price AS r__suplement_price, r.third_pax_price AS r__third_pax_price, r.child_pax_price AS r__child_pax_price, r.child_pax_price2 AS r__child_pax_price2, r.second_child_pax_price2 AS r__second_child_pax_price2, r.provider_id AS r__provider_id, r.early_booking_days AS r__early_booking_days, r.early_booking_date_begin_at AS r__early_booking_date_begin_at, r.early_booking_date_end_at AS r__early_booking_date_end_at, r.early_booking_discount AS r__early_booking_discount, r.created_at AS r__created_at, r.updated_at AS r__updated_at, s.id AS s__id, s.name AS s__name, s.orden AS s__orden, s.is_for_car AS s__is_for_car, p.id AS p__id, p.name AS p__name, p.is_active AS p__is_active, p.website AS p__website, p.bank_account_id AS p__bank_account_id, p.flow_id AS p__flow_id FROM room_price r LEFT JOIN season s ON r.season_id = s.id LEFT JOIN provider p ON r.provider_id = p.id LEFT JOIN hotel_room h ON r.hotel_room_id = h.id, hotel_season h2 WHERE (s.id = r.season_id AND h2.season_id = r.season_id AND (h2.begin_at <= '2019-12-14' AND h2.end_at >= '2019-12-14') AND h2.hotel_id = '47' AND r.hotel_room_id = '2106' AND r.provider_id = h2.provider_id) ORDER BY r.season_id, r.id ASC, h2.season_id DESC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.season_id AS h__season_id, h.release_days AS h__release_days, h.min_book_days AS h__min_book_days, h.provider_id AS h__provider_id FROM hotel_season h WHERE ((h.begin_at <= '2019-12-14' AND h.end_at >= '2019-12-14') AND h.hotel_id = '47' AND h.provider_id = '172') ORDER BY h.season_id DESC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '14' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '14') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT r.id AS r__id, r.hotel_room_id AS r__hotel_room_id, r.season_id AS r__season_id, r.pax_price AS r__pax_price, r.suplement_price AS r__suplement_price, r.third_pax_price AS r__third_pax_price, r.child_pax_price AS r__child_pax_price, r.child_pax_price2 AS r__child_pax_price2, r.second_child_pax_price2 AS r__second_child_pax_price2, r.provider_id AS r__provider_id, r.early_booking_days AS r__early_booking_days, r.early_booking_date_begin_at AS r__early_booking_date_begin_at, r.early_booking_date_end_at AS r__early_booking_date_end_at, r.early_booking_discount AS r__early_booking_discount, r.created_at AS r__created_at, r.updated_at AS r__updated_at, s.id AS s__id, s.name AS s__name, s.orden AS s__orden, s.is_for_car AS s__is_for_car, p.id AS p__id, p.name AS p__name, p.is_active AS p__is_active, p.website AS p__website, p.bank_account_id AS p__bank_account_id, p.flow_id AS p__flow_id FROM room_price r LEFT JOIN season s ON r.season_id = s.id LEFT JOIN provider p ON r.provider_id = p.id LEFT JOIN hotel_room h ON r.hotel_room_id = h.id, hotel_season h2 WHERE ((s.id = r.season_id AND h2.season_id = r.season_id AND (h2.begin_at <= '2019-12-15' AND h2.end_at >= '2019-12-15') AND h2.hotel_id = '47' AND r.hotel_room_id = '2106' AND r.provider_id = h2.provider_id) AND h2.provider_id = '172') ORDER BY r.season_id, r.id ASC, h2.season_id DESC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '15' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '15') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT r.id AS r__id, r.hotel_room_id AS r__hotel_room_id, r.season_id AS r__season_id, r.pax_price AS r__pax_price, r.suplement_price AS r__suplement_price, r.third_pax_price AS r__third_pax_price, r.child_pax_price AS r__child_pax_price, r.child_pax_price2 AS r__child_pax_price2, r.second_child_pax_price2 AS r__second_child_pax_price2, r.provider_id AS r__provider_id, r.early_booking_days AS r__early_booking_days, r.early_booking_date_begin_at AS r__early_booking_date_begin_at, r.early_booking_date_end_at AS r__early_booking_date_end_at, r.early_booking_discount AS r__early_booking_discount, r.created_at AS r__created_at, r.updated_at AS r__updated_at, s.id AS s__id, s.name AS s__name, s.orden AS s__orden, s.is_for_car AS s__is_for_car, p.id AS p__id, p.name AS p__name, p.is_active AS p__is_active, p.website AS p__website, p.bank_account_id AS p__bank_account_id, p.flow_id AS p__flow_id FROM room_price r LEFT JOIN season s ON r.season_id = s.id LEFT JOIN provider p ON r.provider_id = p.id LEFT JOIN hotel_room h ON r.hotel_room_id = h.id, hotel_season h2 WHERE ((s.id = r.season_id AND h2.season_id = r.season_id AND (h2.begin_at <= '2019-12-16' AND h2.end_at >= '2019-12-16') AND h2.hotel_id = '47' AND r.hotel_room_id = '2106' AND r.provider_id = h2.provider_id) AND h2.provider_id = '172') ORDER BY r.season_id, r.id ASC, h2.season_id DESC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '16' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '16') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.begin_at AS h__begin_at, h.end_at AS h__end_at FROM hotel_stop_sale h WHERE (((h.begin_at <= '2019-12-14' AND h.end_at >= '2019-12-14') OR (h.begin_at <= '2019-12-17' AND h.end_at >= '2019-12-17') OR (h.begin_at >= '2019-12-14' AND h.end_at <= '2019-12-17')) AND h.hotel_id = '47')
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE (h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-14' AND h.travel_window_end_at >= '2019-12-14') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '2106') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '14' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '14') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE ((h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-15' AND h.travel_window_end_at >= '2019-12-15') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '2106') AND h.provider_id = '172') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '15' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '15') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE ((h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-16' AND h.travel_window_end_at >= '2019-12-16') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '2106') AND h.provider_id = '172') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '16' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '16') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.begin_at AS h__begin_at, h.end_at AS h__end_at FROM hotel_stop_sale h WHERE (((h.begin_at <= '2019-12-14' AND h.end_at >= '2019-12-14') OR (h.begin_at <= '2019-12-17' AND h.end_at >= '2019-12-17') OR (h.begin_at >= '2019-12-14' AND h.end_at <= '2019-12-17')) AND h.hotel_id = '47')
SELECT r.id AS r__id, r.hotel_room_id AS r__hotel_room_id, r.season_id AS r__season_id, r.pax_price AS r__pax_price, r.suplement_price AS r__suplement_price, r.third_pax_price AS r__third_pax_price, r.child_pax_price AS r__child_pax_price, r.child_pax_price2 AS r__child_pax_price2, r.second_child_pax_price2 AS r__second_child_pax_price2, r.provider_id AS r__provider_id, r.early_booking_days AS r__early_booking_days, r.early_booking_date_begin_at AS r__early_booking_date_begin_at, r.early_booking_date_end_at AS r__early_booking_date_end_at, r.early_booking_discount AS r__early_booking_discount, r.created_at AS r__created_at, r.updated_at AS r__updated_at, s.id AS s__id, s.name AS s__name, s.orden AS s__orden, s.is_for_car AS s__is_for_car, p.id AS p__id, p.name AS p__name, p.is_active AS p__is_active, p.website AS p__website, p.bank_account_id AS p__bank_account_id, p.flow_id AS p__flow_id FROM room_price r LEFT JOIN season s ON r.season_id = s.id LEFT JOIN provider p ON r.provider_id = p.id LEFT JOIN hotel_room h ON r.hotel_room_id = h.id, hotel_season h2 WHERE (s.id = r.season_id AND h2.season_id = r.season_id AND (h2.begin_at <= '2019-12-14' AND h2.end_at >= '2019-12-14') AND h2.hotel_id = '47' AND r.hotel_room_id = '2106' AND r.provider_id = h2.provider_id) ORDER BY r.season_id, r.id ASC, h2.season_id DESC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.season_id AS h__season_id, h.release_days AS h__release_days, h.min_book_days AS h__min_book_days, h.provider_id AS h__provider_id FROM hotel_season h WHERE ((h.begin_at <= '2019-12-14' AND h.end_at >= '2019-12-14') AND h.hotel_id = '47' AND h.provider_id = '172') ORDER BY h.season_id DESC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '14' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '14') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT r.id AS r__id, r.hotel_room_id AS r__hotel_room_id, r.season_id AS r__season_id, r.pax_price AS r__pax_price, r.suplement_price AS r__suplement_price, r.third_pax_price AS r__third_pax_price, r.child_pax_price AS r__child_pax_price, r.child_pax_price2 AS r__child_pax_price2, r.second_child_pax_price2 AS r__second_child_pax_price2, r.provider_id AS r__provider_id, r.early_booking_days AS r__early_booking_days, r.early_booking_date_begin_at AS r__early_booking_date_begin_at, r.early_booking_date_end_at AS r__early_booking_date_end_at, r.early_booking_discount AS r__early_booking_discount, r.created_at AS r__created_at, r.updated_at AS r__updated_at, s.id AS s__id, s.name AS s__name, s.orden AS s__orden, s.is_for_car AS s__is_for_car, p.id AS p__id, p.name AS p__name, p.is_active AS p__is_active, p.website AS p__website, p.bank_account_id AS p__bank_account_id, p.flow_id AS p__flow_id FROM room_price r LEFT JOIN season s ON r.season_id = s.id LEFT JOIN provider p ON r.provider_id = p.id LEFT JOIN hotel_room h ON r.hotel_room_id = h.id, hotel_season h2 WHERE ((s.id = r.season_id AND h2.season_id = r.season_id AND (h2.begin_at <= '2019-12-15' AND h2.end_at >= '2019-12-15') AND h2.hotel_id = '47' AND r.hotel_room_id = '2106' AND r.provider_id = h2.provider_id) AND h2.provider_id = '172') ORDER BY r.season_id, r.id ASC, h2.season_id DESC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '15' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '15') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT r.id AS r__id, r.hotel_room_id AS r__hotel_room_id, r.season_id AS r__season_id, r.pax_price AS r__pax_price, r.suplement_price AS r__suplement_price, r.third_pax_price AS r__third_pax_price, r.child_pax_price AS r__child_pax_price, r.child_pax_price2 AS r__child_pax_price2, r.second_child_pax_price2 AS r__second_child_pax_price2, r.provider_id AS r__provider_id, r.early_booking_days AS r__early_booking_days, r.early_booking_date_begin_at AS r__early_booking_date_begin_at, r.early_booking_date_end_at AS r__early_booking_date_end_at, r.early_booking_discount AS r__early_booking_discount, r.created_at AS r__created_at, r.updated_at AS r__updated_at, s.id AS s__id, s.name AS s__name, s.orden AS s__orden, s.is_for_car AS s__is_for_car, p.id AS p__id, p.name AS p__name, p.is_active AS p__is_active, p.website AS p__website, p.bank_account_id AS p__bank_account_id, p.flow_id AS p__flow_id FROM room_price r LEFT JOIN season s ON r.season_id = s.id LEFT JOIN provider p ON r.provider_id = p.id LEFT JOIN hotel_room h ON r.hotel_room_id = h.id, hotel_season h2 WHERE ((s.id = r.season_id AND h2.season_id = r.season_id AND (h2.begin_at <= '2019-12-16' AND h2.end_at >= '2019-12-16') AND h2.hotel_id = '47' AND r.hotel_room_id = '2106' AND r.provider_id = h2.provider_id) AND h2.provider_id = '172') ORDER BY r.season_id, r.id ASC, h2.season_id DESC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '16' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '16') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT r.id AS r__id, r.filename AS r__filename, r.hotel_room_id AS r__hotel_room_id, r.is_promo AS r__is_promo, r.version AS r__version FROM room_photo r WHERE (r.is_promo = 1 AND r.hotel_room_id = 2106) ORDER BY r.is_promo DESC
SELECT r.id AS r__id, r.title AS r__title, r.lang AS r__lang FROM room_photo_translation r WHERE (r.id IN ('2743'))
SELECT r.id AS r__id, r.code AS r__code, r.orden AS r__orden FROM room_type r WHERE (r.id = '486')
SELECT r.id AS r__id, r.name AS r__name, r.lang AS r__lang FROM room_type_translation r WHERE (r.id IN ('486'))
SELECT f.id AS f__id, f2.id AS f2__id, f2.lang AS f2__lang, f2.name AS f2__name FROM facility f LEFT JOIN facility_translation f2 ON f.id = f2.id LEFT JOIN hotel_room_facility h ON f.id = h.facility_id WHERE (f2.name <> "" AND h.hotel_room_id = '2106' AND f.facility_type_id = 2) ORDER BY f2.name ASC
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h LEFT JOIN hotel_room_offer_date h2 ON h.id = h2.hotel_room_offer_id WHERE (h2.hotel_room_offer_id = h.id AND h2.end_at >= '2019-12-15' AND h.hotel_room_id = '694') ORDER BY h2.begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.begin_at AS h__begin_at, h.end_at AS h__end_at FROM hotel_stop_sale h WHERE (((h.begin_at <= '2019-12-14' AND h.end_at >= '2019-12-14') OR (h.begin_at <= '2019-12-17' AND h.end_at >= '2019-12-17') OR (h.begin_at >= '2019-12-14' AND h.end_at <= '2019-12-17')) AND h.hotel_id = '47')
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE (h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-14' AND h.travel_window_end_at >= '2019-12-14') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '694') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '14' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '14') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE ((h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-15' AND h.travel_window_end_at >= '2019-12-15') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '694') AND h.provider_id = '172') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '15' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '15') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE ((h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-16' AND h.travel_window_end_at >= '2019-12-16') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '694') AND h.provider_id = '172') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '16' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '16') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.begin_at AS h__begin_at, h.end_at AS h__end_at FROM hotel_stop_sale h WHERE (((h.begin_at <= '2019-12-14' AND h.end_at >= '2019-12-14') OR (h.begin_at <= '2019-12-17' AND h.end_at >= '2019-12-17') OR (h.begin_at >= '2019-12-14' AND h.end_at <= '2019-12-17')) AND h.hotel_id = '47')
SELECT r.id AS r__id, r.hotel_room_id AS r__hotel_room_id, r.season_id AS r__season_id, r.pax_price AS r__pax_price, r.suplement_price AS r__suplement_price, r.third_pax_price AS r__third_pax_price, r.child_pax_price AS r__child_pax_price, r.child_pax_price2 AS r__child_pax_price2, r.second_child_pax_price2 AS r__second_child_pax_price2, r.provider_id AS r__provider_id, r.early_booking_days AS r__early_booking_days, r.early_booking_date_begin_at AS r__early_booking_date_begin_at, r.early_booking_date_end_at AS r__early_booking_date_end_at, r.early_booking_discount AS r__early_booking_discount, r.created_at AS r__created_at, r.updated_at AS r__updated_at, s.id AS s__id, s.name AS s__name, s.orden AS s__orden, s.is_for_car AS s__is_for_car, p.id AS p__id, p.name AS p__name, p.is_active AS p__is_active, p.website AS p__website, p.bank_account_id AS p__bank_account_id, p.flow_id AS p__flow_id FROM room_price r LEFT JOIN season s ON r.season_id = s.id LEFT JOIN provider p ON r.provider_id = p.id LEFT JOIN hotel_room h ON r.hotel_room_id = h.id, hotel_season h2 WHERE (s.id = r.season_id AND h2.season_id = r.season_id AND (h2.begin_at <= '2019-12-14' AND h2.end_at >= '2019-12-14') AND h2.hotel_id = '47' AND r.hotel_room_id = '694' AND r.provider_id = h2.provider_id) ORDER BY r.season_id, r.id ASC, h2.season_id DESC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.season_id AS h__season_id, h.release_days AS h__release_days, h.min_book_days AS h__min_book_days, h.provider_id AS h__provider_id FROM hotel_season h WHERE ((h.begin_at <= '2019-12-14' AND h.end_at >= '2019-12-14') AND h.hotel_id = '47' AND h.provider_id = '172') ORDER BY h.season_id DESC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '14' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '14') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT r.id AS r__id, r.hotel_room_id AS r__hotel_room_id, r.season_id AS r__season_id, r.pax_price AS r__pax_price, r.suplement_price AS r__suplement_price, r.third_pax_price AS r__third_pax_price, r.child_pax_price AS r__child_pax_price, r.child_pax_price2 AS r__child_pax_price2, r.second_child_pax_price2 AS r__second_child_pax_price2, r.provider_id AS r__provider_id, r.early_booking_days AS r__early_booking_days, r.early_booking_date_begin_at AS r__early_booking_date_begin_at, r.early_booking_date_end_at AS r__early_booking_date_end_at, r.early_booking_discount AS r__early_booking_discount, r.created_at AS r__created_at, r.updated_at AS r__updated_at, s.id AS s__id, s.name AS s__name, s.orden AS s__orden, s.is_for_car AS s__is_for_car, p.id AS p__id, p.name AS p__name, p.is_active AS p__is_active, p.website AS p__website, p.bank_account_id AS p__bank_account_id, p.flow_id AS p__flow_id FROM room_price r LEFT JOIN season s ON r.season_id = s.id LEFT JOIN provider p ON r.provider_id = p.id LEFT JOIN hotel_room h ON r.hotel_room_id = h.id, hotel_season h2 WHERE ((s.id = r.season_id AND h2.season_id = r.season_id AND (h2.begin_at <= '2019-12-15' AND h2.end_at >= '2019-12-15') AND h2.hotel_id = '47' AND r.hotel_room_id = '694' AND r.provider_id = h2.provider_id) AND h2.provider_id = '172') ORDER BY r.season_id, r.id ASC, h2.season_id DESC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '15' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '15') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT r.id AS r__id, r.hotel_room_id AS r__hotel_room_id, r.season_id AS r__season_id, r.pax_price AS r__pax_price, r.suplement_price AS r__suplement_price, r.third_pax_price AS r__third_pax_price, r.child_pax_price AS r__child_pax_price, r.child_pax_price2 AS r__child_pax_price2, r.second_child_pax_price2 AS r__second_child_pax_price2, r.provider_id AS r__provider_id, r.early_booking_days AS r__early_booking_days, r.early_booking_date_begin_at AS r__early_booking_date_begin_at, r.early_booking_date_end_at AS r__early_booking_date_end_at, r.early_booking_discount AS r__early_booking_discount, r.created_at AS r__created_at, r.updated_at AS r__updated_at, s.id AS s__id, s.name AS s__name, s.orden AS s__orden, s.is_for_car AS s__is_for_car, p.id AS p__id, p.name AS p__name, p.is_active AS p__is_active, p.website AS p__website, p.bank_account_id AS p__bank_account_id, p.flow_id AS p__flow_id FROM room_price r LEFT JOIN season s ON r.season_id = s.id LEFT JOIN provider p ON r.provider_id = p.id LEFT JOIN hotel_room h ON r.hotel_room_id = h.id, hotel_season h2 WHERE ((s.id = r.season_id AND h2.season_id = r.season_id AND (h2.begin_at <= '2019-12-16' AND h2.end_at >= '2019-12-16') AND h2.hotel_id = '47' AND r.hotel_room_id = '694' AND r.provider_id = h2.provider_id) AND h2.provider_id = '172') ORDER BY r.season_id, r.id ASC, h2.season_id DESC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '16' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '16') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.begin_at AS h__begin_at, h.end_at AS h__end_at FROM hotel_stop_sale h WHERE (((h.begin_at <= '2019-12-14' AND h.end_at >= '2019-12-14') OR (h.begin_at <= '2019-12-17' AND h.end_at >= '2019-12-17') OR (h.begin_at >= '2019-12-14' AND h.end_at <= '2019-12-17')) AND h.hotel_id = '47')
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE (h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-14' AND h.travel_window_end_at >= '2019-12-14') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '694') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '14' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '14') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE ((h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-15' AND h.travel_window_end_at >= '2019-12-15') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '694') AND h.provider_id = '172') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '15' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '15') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE ((h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-16' AND h.travel_window_end_at >= '2019-12-16') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '694') AND h.provider_id = '172') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '16' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '16') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.begin_at AS h__begin_at, h.end_at AS h__end_at FROM hotel_stop_sale h WHERE (((h.begin_at <= '2019-12-14' AND h.end_at >= '2019-12-14') OR (h.begin_at <= '2019-12-17' AND h.end_at >= '2019-12-17') OR (h.begin_at >= '2019-12-14' AND h.end_at <= '2019-12-17')) AND h.hotel_id = '47')
SELECT r.id AS r__id, r.hotel_room_id AS r__hotel_room_id, r.season_id AS r__season_id, r.pax_price AS r__pax_price, r.suplement_price AS r__suplement_price, r.third_pax_price AS r__third_pax_price, r.child_pax_price AS r__child_pax_price, r.child_pax_price2 AS r__child_pax_price2, r.second_child_pax_price2 AS r__second_child_pax_price2, r.provider_id AS r__provider_id, r.early_booking_days AS r__early_booking_days, r.early_booking_date_begin_at AS r__early_booking_date_begin_at, r.early_booking_date_end_at AS r__early_booking_date_end_at, r.early_booking_discount AS r__early_booking_discount, r.created_at AS r__created_at, r.updated_at AS r__updated_at, s.id AS s__id, s.name AS s__name, s.orden AS s__orden, s.is_for_car AS s__is_for_car, p.id AS p__id, p.name AS p__name, p.is_active AS p__is_active, p.website AS p__website, p.bank_account_id AS p__bank_account_id, p.flow_id AS p__flow_id FROM room_price r LEFT JOIN season s ON r.season_id = s.id LEFT JOIN provider p ON r.provider_id = p.id LEFT JOIN hotel_room h ON r.hotel_room_id = h.id, hotel_season h2 WHERE (s.id = r.season_id AND h2.season_id = r.season_id AND (h2.begin_at <= '2019-12-14' AND h2.end_at >= '2019-12-14') AND h2.hotel_id = '47' AND r.hotel_room_id = '694' AND r.provider_id = h2.provider_id) ORDER BY r.season_id, r.id ASC, h2.season_id DESC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.season_id AS h__season_id, h.release_days AS h__release_days, h.min_book_days AS h__min_book_days, h.provider_id AS h__provider_id FROM hotel_season h WHERE ((h.begin_at <= '2019-12-14' AND h.end_at >= '2019-12-14') AND h.hotel_id = '47' AND h.provider_id = '172') ORDER BY h.season_id DESC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '14' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '14') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT r.id AS r__id, r.hotel_room_id AS r__hotel_room_id, r.season_id AS r__season_id, r.pax_price AS r__pax_price, r.suplement_price AS r__suplement_price, r.third_pax_price AS r__third_pax_price, r.child_pax_price AS r__child_pax_price, r.child_pax_price2 AS r__child_pax_price2, r.second_child_pax_price2 AS r__second_child_pax_price2, r.provider_id AS r__provider_id, r.early_booking_days AS r__early_booking_days, r.early_booking_date_begin_at AS r__early_booking_date_begin_at, r.early_booking_date_end_at AS r__early_booking_date_end_at, r.early_booking_discount AS r__early_booking_discount, r.created_at AS r__created_at, r.updated_at AS r__updated_at, s.id AS s__id, s.name AS s__name, s.orden AS s__orden, s.is_for_car AS s__is_for_car, p.id AS p__id, p.name AS p__name, p.is_active AS p__is_active, p.website AS p__website, p.bank_account_id AS p__bank_account_id, p.flow_id AS p__flow_id FROM room_price r LEFT JOIN season s ON r.season_id = s.id LEFT JOIN provider p ON r.provider_id = p.id LEFT JOIN hotel_room h ON r.hotel_room_id = h.id, hotel_season h2 WHERE ((s.id = r.season_id AND h2.season_id = r.season_id AND (h2.begin_at <= '2019-12-15' AND h2.end_at >= '2019-12-15') AND h2.hotel_id = '47' AND r.hotel_room_id = '694' AND r.provider_id = h2.provider_id) AND h2.provider_id = '172') ORDER BY r.season_id, r.id ASC, h2.season_id DESC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '15' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '15') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT r.id AS r__id, r.hotel_room_id AS r__hotel_room_id, r.season_id AS r__season_id, r.pax_price AS r__pax_price, r.suplement_price AS r__suplement_price, r.third_pax_price AS r__third_pax_price, r.child_pax_price AS r__child_pax_price, r.child_pax_price2 AS r__child_pax_price2, r.second_child_pax_price2 AS r__second_child_pax_price2, r.provider_id AS r__provider_id, r.early_booking_days AS r__early_booking_days, r.early_booking_date_begin_at AS r__early_booking_date_begin_at, r.early_booking_date_end_at AS r__early_booking_date_end_at, r.early_booking_discount AS r__early_booking_discount, r.created_at AS r__created_at, r.updated_at AS r__updated_at, s.id AS s__id, s.name AS s__name, s.orden AS s__orden, s.is_for_car AS s__is_for_car, p.id AS p__id, p.name AS p__name, p.is_active AS p__is_active, p.website AS p__website, p.bank_account_id AS p__bank_account_id, p.flow_id AS p__flow_id FROM room_price r LEFT JOIN season s ON r.season_id = s.id LEFT JOIN provider p ON r.provider_id = p.id LEFT JOIN hotel_room h ON r.hotel_room_id = h.id, hotel_season h2 WHERE ((s.id = r.season_id AND h2.season_id = r.season_id AND (h2.begin_at <= '2019-12-16' AND h2.end_at >= '2019-12-16') AND h2.hotel_id = '47' AND r.hotel_room_id = '694' AND r.provider_id = h2.provider_id) AND h2.provider_id = '172') ORDER BY r.season_id, r.id ASC, h2.season_id DESC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '16' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '16') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT r.id AS r__id, r.filename AS r__filename, r.hotel_room_id AS r__hotel_room_id, r.is_promo AS r__is_promo, r.version AS r__version FROM room_photo r WHERE (r.is_promo = 1 AND r.hotel_room_id = 694) ORDER BY r.is_promo DESC
SELECT r.id AS r__id, r.title AS r__title, r.lang AS r__lang FROM room_photo_translation r WHERE (r.id IN ('1643'))
SELECT r.id AS r__id, r.code AS r__code, r.orden AS r__orden FROM room_type r WHERE (r.id = '5')
SELECT r.id AS r__id, r.name AS r__name, r.lang AS r__lang FROM room_type_translation r WHERE (r.id IN ('5'))
SELECT f.id AS f__id, f2.id AS f2__id, f2.lang AS f2__lang, f2.name AS f2__name FROM facility f LEFT JOIN facility_translation f2 ON f.id = f2.id LEFT JOIN hotel_room_facility h ON f.id = h.facility_id WHERE (f2.name <> "" AND h.hotel_room_id = '694' AND f.facility_type_id = 2) ORDER BY f2.name ASC
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h LEFT JOIN hotel_room_offer_date h2 ON h.id = h2.hotel_room_offer_id WHERE (h2.hotel_room_offer_id = h.id AND h2.end_at >= '2019-12-15' AND h.hotel_room_id = '2104') ORDER BY h2.begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.begin_at AS h__begin_at, h.end_at AS h__end_at FROM hotel_stop_sale h WHERE (((h.begin_at <= '2019-12-14' AND h.end_at >= '2019-12-14') OR (h.begin_at <= '2019-12-17' AND h.end_at >= '2019-12-17') OR (h.begin_at >= '2019-12-14' AND h.end_at <= '2019-12-17')) AND h.hotel_id = '47')
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE (h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-14' AND h.travel_window_end_at >= '2019-12-14') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '2104') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '14' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '14') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE ((h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-15' AND h.travel_window_end_at >= '2019-12-15') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '2104') AND h.provider_id = '172') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '15' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '15') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE ((h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-16' AND h.travel_window_end_at >= '2019-12-16') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '2104') AND h.provider_id = '172') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '16' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '16') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.begin_at AS h__begin_at, h.end_at AS h__end_at FROM hotel_stop_sale h WHERE (((h.begin_at <= '2019-12-14' AND h.end_at >= '2019-12-14') OR (h.begin_at <= '2019-12-17' AND h.end_at >= '2019-12-17') OR (h.begin_at >= '2019-12-14' AND h.end_at <= '2019-12-17')) AND h.hotel_id = '47')
SELECT r.id AS r__id, r.hotel_room_id AS r__hotel_room_id, r.season_id AS r__season_id, r.pax_price AS r__pax_price, r.suplement_price AS r__suplement_price, r.third_pax_price AS r__third_pax_price, r.child_pax_price AS r__child_pax_price, r.child_pax_price2 AS r__child_pax_price2, r.second_child_pax_price2 AS r__second_child_pax_price2, r.provider_id AS r__provider_id, r.early_booking_days AS r__early_booking_days, r.early_booking_date_begin_at AS r__early_booking_date_begin_at, r.early_booking_date_end_at AS r__early_booking_date_end_at, r.early_booking_discount AS r__early_booking_discount, r.created_at AS r__created_at, r.updated_at AS r__updated_at, s.id AS s__id, s.name AS s__name, s.orden AS s__orden, s.is_for_car AS s__is_for_car, p.id AS p__id, p.name AS p__name, p.is_active AS p__is_active, p.website AS p__website, p.bank_account_id AS p__bank_account_id, p.flow_id AS p__flow_id FROM room_price r LEFT JOIN season s ON r.season_id = s.id LEFT JOIN provider p ON r.provider_id = p.id LEFT JOIN hotel_room h ON r.hotel_room_id = h.id, hotel_season h2 WHERE (s.id = r.season_id AND h2.season_id = r.season_id AND (h2.begin_at <= '2019-12-14' AND h2.end_at >= '2019-12-14') AND h2.hotel_id = '47' AND r.hotel_room_id = '2104' AND r.provider_id = h2.provider_id) ORDER BY r.season_id, r.id ASC, h2.season_id DESC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.season_id AS h__season_id, h.release_days AS h__release_days, h.min_book_days AS h__min_book_days, h.provider_id AS h__provider_id FROM hotel_season h WHERE ((h.begin_at <= '2019-12-14' AND h.end_at >= '2019-12-14') AND h.hotel_id = '47' AND h.provider_id = '172') ORDER BY h.season_id DESC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '14' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '14') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT r.id AS r__id, r.hotel_room_id AS r__hotel_room_id, r.season_id AS r__season_id, r.pax_price AS r__pax_price, r.suplement_price AS r__suplement_price, r.third_pax_price AS r__third_pax_price, r.child_pax_price AS r__child_pax_price, r.child_pax_price2 AS r__child_pax_price2, r.second_child_pax_price2 AS r__second_child_pax_price2, r.provider_id AS r__provider_id, r.early_booking_days AS r__early_booking_days, r.early_booking_date_begin_at AS r__early_booking_date_begin_at, r.early_booking_date_end_at AS r__early_booking_date_end_at, r.early_booking_discount AS r__early_booking_discount, r.created_at AS r__created_at, r.updated_at AS r__updated_at, s.id AS s__id, s.name AS s__name, s.orden AS s__orden, s.is_for_car AS s__is_for_car, p.id AS p__id, p.name AS p__name, p.is_active AS p__is_active, p.website AS p__website, p.bank_account_id AS p__bank_account_id, p.flow_id AS p__flow_id FROM room_price r LEFT JOIN season s ON r.season_id = s.id LEFT JOIN provider p ON r.provider_id = p.id LEFT JOIN hotel_room h ON r.hotel_room_id = h.id, hotel_season h2 WHERE ((s.id = r.season_id AND h2.season_id = r.season_id AND (h2.begin_at <= '2019-12-15' AND h2.end_at >= '2019-12-15') AND h2.hotel_id = '47' AND r.hotel_room_id = '2104' AND r.provider_id = h2.provider_id) AND h2.provider_id = '172') ORDER BY r.season_id, r.id ASC, h2.season_id DESC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '15' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '15') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT r.id AS r__id, r.hotel_room_id AS r__hotel_room_id, r.season_id AS r__season_id, r.pax_price AS r__pax_price, r.suplement_price AS r__suplement_price, r.third_pax_price AS r__third_pax_price, r.child_pax_price AS r__child_pax_price, r.child_pax_price2 AS r__child_pax_price2, r.second_child_pax_price2 AS r__second_child_pax_price2, r.provider_id AS r__provider_id, r.early_booking_days AS r__early_booking_days, r.early_booking_date_begin_at AS r__early_booking_date_begin_at, r.early_booking_date_end_at AS r__early_booking_date_end_at, r.early_booking_discount AS r__early_booking_discount, r.created_at AS r__created_at, r.updated_at AS r__updated_at, s.id AS s__id, s.name AS s__name, s.orden AS s__orden, s.is_for_car AS s__is_for_car, p.id AS p__id, p.name AS p__name, p.is_active AS p__is_active, p.website AS p__website, p.bank_account_id AS p__bank_account_id, p.flow_id AS p__flow_id FROM room_price r LEFT JOIN season s ON r.season_id = s.id LEFT JOIN provider p ON r.provider_id = p.id LEFT JOIN hotel_room h ON r.hotel_room_id = h.id, hotel_season h2 WHERE ((s.id = r.season_id AND h2.season_id = r.season_id AND (h2.begin_at <= '2019-12-16' AND h2.end_at >= '2019-12-16') AND h2.hotel_id = '47' AND r.hotel_room_id = '2104' AND r.provider_id = h2.provider_id) AND h2.provider_id = '172') ORDER BY r.season_id, r.id ASC, h2.season_id DESC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '16' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '16') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.begin_at AS h__begin_at, h.end_at AS h__end_at FROM hotel_stop_sale h WHERE (((h.begin_at <= '2019-12-14' AND h.end_at >= '2019-12-14') OR (h.begin_at <= '2019-12-17' AND h.end_at >= '2019-12-17') OR (h.begin_at >= '2019-12-14' AND h.end_at <= '2019-12-17')) AND h.hotel_id = '47')
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE (h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-14' AND h.travel_window_end_at >= '2019-12-14') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '2104') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '14' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '14') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE ((h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-15' AND h.travel_window_end_at >= '2019-12-15') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '2104') AND h.provider_id = '172') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '15' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '15') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_room_id AS h__hotel_room_id, h.provider_id AS h__provider_id, h.offer_id AS h__offer_id, h.pax_price AS h__pax_price, h.suplement_price AS h__suplement_price, h.third_pax_price AS h__third_pax_price, h.child_pax_price AS h__child_pax_price, h.child_pax_price2 AS h__child_pax_price2, h.second_child_pax_price2 AS h__second_child_pax_price2, h.offer_type AS h__offer_type, h.booking_window_begin_at AS h__booking_window_begin_at, h.booking_window_end_at AS h__booking_window_end_at, h.travel_window_begin_at AS h__travel_window_begin_at, h.travel_window_end_at AS h__travel_window_end_at, h.booking_window_discount AS h__booking_window_discount, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.release_days AS h__release_days, h.availability AS h__availability, h.min_book_days AS h__min_book_days, h.earn_percent AS h__earn_percent, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel_room_offer h WHERE ((h.offer_type = 2 AND (h.travel_window_begin_at <= '2019-12-16' AND h.travel_window_end_at >= '2019-12-16') AND (h.booking_window_begin_at <= '2019-12-13' AND h.booking_window_end_at >= '2019-12-13') AND h.hotel_room_id = '2104') AND h.provider_id = '172') ORDER BY h.travel_window_begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '16' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '16') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.begin_at AS h__begin_at, h.end_at AS h__end_at FROM hotel_stop_sale h WHERE (((h.begin_at <= '2019-12-14' AND h.end_at >= '2019-12-14') OR (h.begin_at <= '2019-12-17' AND h.end_at >= '2019-12-17') OR (h.begin_at >= '2019-12-14' AND h.end_at <= '2019-12-17')) AND h.hotel_id = '47')
SELECT r.id AS r__id, r.hotel_room_id AS r__hotel_room_id, r.season_id AS r__season_id, r.pax_price AS r__pax_price, r.suplement_price AS r__suplement_price, r.third_pax_price AS r__third_pax_price, r.child_pax_price AS r__child_pax_price, r.child_pax_price2 AS r__child_pax_price2, r.second_child_pax_price2 AS r__second_child_pax_price2, r.provider_id AS r__provider_id, r.early_booking_days AS r__early_booking_days, r.early_booking_date_begin_at AS r__early_booking_date_begin_at, r.early_booking_date_end_at AS r__early_booking_date_end_at, r.early_booking_discount AS r__early_booking_discount, r.created_at AS r__created_at, r.updated_at AS r__updated_at, s.id AS s__id, s.name AS s__name, s.orden AS s__orden, s.is_for_car AS s__is_for_car, p.id AS p__id, p.name AS p__name, p.is_active AS p__is_active, p.website AS p__website, p.bank_account_id AS p__bank_account_id, p.flow_id AS p__flow_id FROM room_price r LEFT JOIN season s ON r.season_id = s.id LEFT JOIN provider p ON r.provider_id = p.id LEFT JOIN hotel_room h ON r.hotel_room_id = h.id, hotel_season h2 WHERE (s.id = r.season_id AND h2.season_id = r.season_id AND (h2.begin_at <= '2019-12-14' AND h2.end_at >= '2019-12-14') AND h2.hotel_id = '47' AND r.hotel_room_id = '2104' AND r.provider_id = h2.provider_id) ORDER BY r.season_id, r.id ASC, h2.season_id DESC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.begin_at AS h__begin_at, h.end_at AS h__end_at, h.season_id AS h__season_id, h.release_days AS h__release_days, h.min_book_days AS h__min_book_days, h.provider_id AS h__provider_id FROM hotel_season h WHERE ((h.begin_at <= '2019-12-14' AND h.end_at >= '2019-12-14') AND h.hotel_id = '47' AND h.provider_id = '172') ORDER BY h.season_id DESC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '14' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '14') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT r.id AS r__id, r.hotel_room_id AS r__hotel_room_id, r.season_id AS r__season_id, r.pax_price AS r__pax_price, r.suplement_price AS r__suplement_price, r.third_pax_price AS r__third_pax_price, r.child_pax_price AS r__child_pax_price, r.child_pax_price2 AS r__child_pax_price2, r.second_child_pax_price2 AS r__second_child_pax_price2, r.provider_id AS r__provider_id, r.early_booking_days AS r__early_booking_days, r.early_booking_date_begin_at AS r__early_booking_date_begin_at, r.early_booking_date_end_at AS r__early_booking_date_end_at, r.early_booking_discount AS r__early_booking_discount, r.created_at AS r__created_at, r.updated_at AS r__updated_at, s.id AS s__id, s.name AS s__name, s.orden AS s__orden, s.is_for_car AS s__is_for_car, p.id AS p__id, p.name AS p__name, p.is_active AS p__is_active, p.website AS p__website, p.bank_account_id AS p__bank_account_id, p.flow_id AS p__flow_id FROM room_price r LEFT JOIN season s ON r.season_id = s.id LEFT JOIN provider p ON r.provider_id = p.id LEFT JOIN hotel_room h ON r.hotel_room_id = h.id, hotel_season h2 WHERE ((s.id = r.season_id AND h2.season_id = r.season_id AND (h2.begin_at <= '2019-12-15' AND h2.end_at >= '2019-12-15') AND h2.hotel_id = '47' AND r.hotel_room_id = '2104' AND r.provider_id = h2.provider_id) AND h2.provider_id = '172') ORDER BY r.season_id, r.id ASC, h2.season_id DESC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '15' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '15') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT r.id AS r__id, r.hotel_room_id AS r__hotel_room_id, r.season_id AS r__season_id, r.pax_price AS r__pax_price, r.suplement_price AS r__suplement_price, r.third_pax_price AS r__third_pax_price, r.child_pax_price AS r__child_pax_price, r.child_pax_price2 AS r__child_pax_price2, r.second_child_pax_price2 AS r__second_child_pax_price2, r.provider_id AS r__provider_id, r.early_booking_days AS r__early_booking_days, r.early_booking_date_begin_at AS r__early_booking_date_begin_at, r.early_booking_date_end_at AS r__early_booking_date_end_at, r.early_booking_discount AS r__early_booking_discount, r.created_at AS r__created_at, r.updated_at AS r__updated_at, s.id AS s__id, s.name AS s__name, s.orden AS s__orden, s.is_for_car AS s__is_for_car, p.id AS p__id, p.name AS p__name, p.is_active AS p__is_active, p.website AS p__website, p.bank_account_id AS p__bank_account_id, p.flow_id AS p__flow_id FROM room_price r LEFT JOIN season s ON r.season_id = s.id LEFT JOIN provider p ON r.provider_id = p.id LEFT JOIN hotel_room h ON r.hotel_room_id = h.id, hotel_season h2 WHERE ((s.id = r.season_id AND h2.season_id = r.season_id AND (h2.begin_at <= '2019-12-16' AND h2.end_at >= '2019-12-16') AND h2.hotel_id = '47' AND r.hotel_room_id = '2104' AND r.provider_id = h2.provider_id) AND h2.provider_id = '172') ORDER BY r.season_id, r.id ASC, h2.season_id DESC
SELECT h.id AS h__id, h.hotel_id AS h__hotel_id, h.dining_id AS h__dining_id, h.price AS h__price, h.is_offer AS h__is_offer FROM hotel_dining h, dining d WHERE (h.dining_id = d.id AND (MONTH(d.begin_at) <= '12' AND DAY(d.begin_at) <= '16' AND MONTH(d.end_at) >= '12' AND DAY(d.end_at) >= '16') AND h.hotel_id = '47') ORDER BY d.begin_at ASC
SELECT r.id AS r__id, r.filename AS r__filename, r.hotel_room_id AS r__hotel_room_id, r.is_promo AS r__is_promo, r.version AS r__version FROM room_photo r WHERE (r.is_promo = 1 AND r.hotel_room_id = 2104) ORDER BY r.is_promo DESC
SELECT r.id AS r__id, r.title AS r__title, r.lang AS r__lang FROM room_photo_translation r WHERE (r.id IN ('2739'))
SELECT r.id AS r__id, r.code AS r__code, r.orden AS r__orden FROM room_type r WHERE (r.id = '488')
SELECT r.id AS r__id, r.name AS r__name, r.lang AS r__lang FROM room_type_translation r WHERE (r.id IN ('488'))
SELECT f.id AS f__id, f2.id AS f2__id, f2.lang AS f2__lang, f2.name AS f2__name FROM facility f LEFT JOIN facility_translation f2 ON f.id = f2.id LEFT JOIN hotel_room_facility h ON f.id = h.facility_id WHERE (f2.name <> "" AND h.hotel_room_id = '2104' AND f.facility_type_id = 2) ORDER BY f2.name ASC
SELECT c.id AS c__id, c.name AS c__name, c.content AS c__content, c.photo_title AS c__photo_title, c.lang AS c__lang, c.slug AS c__slug, c.h1_title AS c__h1_title, c.meta_title AS c__meta_title, c.meta_description AS c__meta_description, c.seo_description AS c__seo_description, c.meta_keywords AS c__meta_keywords FROM cms_trip_translation c WHERE (c.id IN ('169'))
SELECT t.id AS t__id, t.filename AS t__filename, t.trip_id AS t__trip_id, t.is_promo AS t__is_promo, t.version AS t__version, t2.id AS t2__id, t2.title AS t2__title, t2.lang AS t2__lang FROM trip_photo t LEFT JOIN trip_photo_translation t2 ON t.id = t2.id WHERE (t.is_promo = 1 AND t.filename <> '' AND t.trip_id = 169 AND t.version = 2) ORDER BY t.is_promo DESC, t.filename ASC
SELECT c.id AS c__id, c.name AS c__name, c.content AS c__content, c.photo_title AS c__photo_title, c.lang AS c__lang, c.slug AS c__slug, c.h1_title AS c__h1_title, c.meta_title AS c__meta_title, c.meta_description AS c__meta_description, c.seo_description AS c__seo_description, c.meta_keywords AS c__meta_keywords FROM cms_trip_translation c WHERE (c.id IN ('232'))
SELECT t.id AS t__id, t.filename AS t__filename, t.trip_id AS t__trip_id, t.is_promo AS t__is_promo, t.version AS t__version, t2.id AS t2__id, t2.title AS t2__title, t2.lang AS t2__lang FROM trip_photo t LEFT JOIN trip_photo_translation t2 ON t.id = t2.id WHERE (t.is_promo = 1 AND t.filename <> '' AND t.trip_id = 232 AND t.version = 2) ORDER BY t.is_promo DESC, t.filename ASC
SELECT c.id AS c__id, c.name AS c__name, c.content AS c__content, c.photo_title AS c__photo_title, c.lang AS c__lang, c.slug AS c__slug, c.h1_title AS c__h1_title, c.meta_title AS c__meta_title, c.meta_description AS c__meta_description, c.seo_description AS c__seo_description, c.meta_keywords AS c__meta_keywords FROM cms_trip_translation c WHERE (c.id IN ('9'))
SELECT t.id AS t__id, t.filename AS t__filename, t.trip_id AS t__trip_id, t.is_promo AS t__is_promo, t.version AS t__version, t2.id AS t2__id, t2.title AS t2__title, t2.lang AS t2__lang FROM trip_photo t LEFT JOIN trip_photo_translation t2 ON t.id = t2.id WHERE (t.is_promo = 1 AND t.filename <> '' AND t.trip_id = 9 AND t.version = 2) ORDER BY t.is_promo DESC, t.filename ASC
SELECT DISTINCT h3.id FROM hotel_photo h3 LEFT JOIN hotel_photo_translation h4 ON h3.id = h4.id WHERE (h3.filename <> '' AND h3.hotel_id = 47 AND h3.version = 2) ORDER BY h3.is_promo DESC, h3.filename ASC LIMIT 50
SELECT h.id AS h__id, h.filename AS h__filename, h.hotel_id AS h__hotel_id, h.is_promo AS h__is_promo, h.version AS h__version, h2.id AS h2__id, h2.title AS h2__title, h2.lang AS h2__lang FROM hotel_photo h LEFT JOIN hotel_photo_translation h2 ON h.id = h2.id WHERE h.id IN ('14423', '14433', '14405', '14421', '14407', '14415', '14417', '14403', '14425', '14429', '14419', '14409', '14413', '14401', '14431', '14435', '17623', '14411', '17625', '14427') AND (h.filename <> '' AND h.hotel_id = 47 AND h.version = 2) ORDER BY h.is_promo DESC, h.filename ASC
SELECT h.id AS h__id, h.destination_id AS h__destination_id, h.hotel_chain_id AS h__hotel_chain_id, h.provider_id AS h__provider_id, h.airport_id AS h__airport_id, h.taxi_price AS h__taxi_price, h.micro_price AS h__micro_price, h.mini_price AS h__mini_price, h.stars AS h__stars, h.hotel_plan_id AS h__hotel_plan_id, h.name AS h__name, h.name_ws AS h__name_ws, h.code AS h__code, h.dinner_price AS h__dinner_price, h.total_rooms AS h__total_rooms, h.is_promo AS h__is_promo, h.contract_end_at AS h__contract_end_at, h.is_active AS h__is_active, h.is_published AS h__is_published, h.url AS h__url, h.earn_percent AS h__earn_percent, h.phone AS h__phone, h.fax AS h__fax, h.adress AS h__adress, h.id_ws AS h__id_ws, h.code_ws AS h__code_ws, h.is_hotel AS h__is_hotel, h.allow_direct_booking AS h__allow_direct_booking, h.website AS h__website, h.tpd_destination_rank AS h__tpd_destination_rank, h.tpd_destination_hotel_qty AS h__tpd_destination_hotel_qty, h.tpd_review_qty AS h__tpd_review_qty, h.tpd_destination_id AS h__tpd_destination_id, h.tpd_hotel_id AS h__tpd_hotel_id, h.tpd_rating_average AS h__tpd_rating_average, h.tpd_url AS h__tpd_url, h.photo_filename AS h__photo_filename, h.photo_file_updated_at AS h__photo_file_updated_at, h.photo_file_size AS h__photo_file_size, h.cache_pax_price_in_double AS h__cache_pax_price_in_double, h.cache_regular_pax_price_in_double AS h__cache_regular_pax_price_in_double, h.cache_offer_discount AS h__cache_offer_discount, h.min_booking_rooms AS h__min_booking_rooms, h.max_booking_rooms AS h__max_booking_rooms, h.is_villa AS h__is_villa, h.main_photo_filename AS h__main_photo_filename, h.zone_id AS h__zone_id, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.bank_account_id AS h__bank_account_id, h.latitude AS h__latitude, h.longitude AS h__longitude, h.payment_method_id AS h__payment_method_id, h.payment_begin_at AS h__payment_begin_at, h.payment_end_at AS h__payment_end_at, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel h WHERE (h.id = '47')
SELECT h.id AS h__id, h.destination_id AS h__destination_id, h.hotel_chain_id AS h__hotel_chain_id, h.provider_id AS h__provider_id, h.airport_id AS h__airport_id, h.taxi_price AS h__taxi_price, h.micro_price AS h__micro_price, h.mini_price AS h__mini_price, h.stars AS h__stars, h.hotel_plan_id AS h__hotel_plan_id, h.name AS h__name, h.name_ws AS h__name_ws, h.code AS h__code, h.dinner_price AS h__dinner_price, h.total_rooms AS h__total_rooms, h.is_promo AS h__is_promo, h.contract_end_at AS h__contract_end_at, h.is_active AS h__is_active, h.is_published AS h__is_published, h.url AS h__url, h.earn_percent AS h__earn_percent, h.phone AS h__phone, h.fax AS h__fax, h.adress AS h__adress, h.id_ws AS h__id_ws, h.code_ws AS h__code_ws, h.is_hotel AS h__is_hotel, h.allow_direct_booking AS h__allow_direct_booking, h.website AS h__website, h.tpd_destination_rank AS h__tpd_destination_rank, h.tpd_destination_hotel_qty AS h__tpd_destination_hotel_qty, h.tpd_review_qty AS h__tpd_review_qty, h.tpd_destination_id AS h__tpd_destination_id, h.tpd_hotel_id AS h__tpd_hotel_id, h.tpd_rating_average AS h__tpd_rating_average, h.tpd_url AS h__tpd_url, h.photo_filename AS h__photo_filename, h.photo_file_updated_at AS h__photo_file_updated_at, h.photo_file_size AS h__photo_file_size, h.cache_pax_price_in_double AS h__cache_pax_price_in_double, h.cache_regular_pax_price_in_double AS h__cache_regular_pax_price_in_double, h.cache_offer_discount AS h__cache_offer_discount, h.min_booking_rooms AS h__min_booking_rooms, h.max_booking_rooms AS h__max_booking_rooms, h.is_villa AS h__is_villa, h.main_photo_filename AS h__main_photo_filename, h.zone_id AS h__zone_id, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.bank_account_id AS h__bank_account_id, h.latitude AS h__latitude, h.longitude AS h__longitude, h.payment_method_id AS h__payment_method_id, h.payment_begin_at AS h__payment_begin_at, h.payment_end_at AS h__payment_end_at, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel h WHERE (h.id = '47')
SELECT h.id AS h__id, h.destination_id AS h__destination_id, h.hotel_chain_id AS h__hotel_chain_id, h.provider_id AS h__provider_id, h.airport_id AS h__airport_id, h.taxi_price AS h__taxi_price, h.micro_price AS h__micro_price, h.mini_price AS h__mini_price, h.stars AS h__stars, h.hotel_plan_id AS h__hotel_plan_id, h.name AS h__name, h.name_ws AS h__name_ws, h.code AS h__code, h.dinner_price AS h__dinner_price, h.total_rooms AS h__total_rooms, h.is_promo AS h__is_promo, h.contract_end_at AS h__contract_end_at, h.is_active AS h__is_active, h.is_published AS h__is_published, h.url AS h__url, h.earn_percent AS h__earn_percent, h.phone AS h__phone, h.fax AS h__fax, h.adress AS h__adress, h.id_ws AS h__id_ws, h.code_ws AS h__code_ws, h.is_hotel AS h__is_hotel, h.allow_direct_booking AS h__allow_direct_booking, h.website AS h__website, h.tpd_destination_rank AS h__tpd_destination_rank, h.tpd_destination_hotel_qty AS h__tpd_destination_hotel_qty, h.tpd_review_qty AS h__tpd_review_qty, h.tpd_destination_id AS h__tpd_destination_id, h.tpd_hotel_id AS h__tpd_hotel_id, h.tpd_rating_average AS h__tpd_rating_average, h.tpd_url AS h__tpd_url, h.photo_filename AS h__photo_filename, h.photo_file_updated_at AS h__photo_file_updated_at, h.photo_file_size AS h__photo_file_size, h.cache_pax_price_in_double AS h__cache_pax_price_in_double, h.cache_regular_pax_price_in_double AS h__cache_regular_pax_price_in_double, h.cache_offer_discount AS h__cache_offer_discount, h.min_booking_rooms AS h__min_booking_rooms, h.max_booking_rooms AS h__max_booking_rooms, h.is_villa AS h__is_villa, h.main_photo_filename AS h__main_photo_filename, h.zone_id AS h__zone_id, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.bank_account_id AS h__bank_account_id, h.latitude AS h__latitude, h.longitude AS h__longitude, h.payment_method_id AS h__payment_method_id, h.payment_begin_at AS h__payment_begin_at, h.payment_end_at AS h__payment_end_at, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel h WHERE (h.id = '47')
SELECT h.id AS h__id, h.destination_id AS h__destination_id, h.hotel_chain_id AS h__hotel_chain_id, h.provider_id AS h__provider_id, h.airport_id AS h__airport_id, h.taxi_price AS h__taxi_price, h.micro_price AS h__micro_price, h.mini_price AS h__mini_price, h.stars AS h__stars, h.hotel_plan_id AS h__hotel_plan_id, h.name AS h__name, h.name_ws AS h__name_ws, h.code AS h__code, h.dinner_price AS h__dinner_price, h.total_rooms AS h__total_rooms, h.is_promo AS h__is_promo, h.contract_end_at AS h__contract_end_at, h.is_active AS h__is_active, h.is_published AS h__is_published, h.url AS h__url, h.earn_percent AS h__earn_percent, h.phone AS h__phone, h.fax AS h__fax, h.adress AS h__adress, h.id_ws AS h__id_ws, h.code_ws AS h__code_ws, h.is_hotel AS h__is_hotel, h.allow_direct_booking AS h__allow_direct_booking, h.website AS h__website, h.tpd_destination_rank AS h__tpd_destination_rank, h.tpd_destination_hotel_qty AS h__tpd_destination_hotel_qty, h.tpd_review_qty AS h__tpd_review_qty, h.tpd_destination_id AS h__tpd_destination_id, h.tpd_hotel_id AS h__tpd_hotel_id, h.tpd_rating_average AS h__tpd_rating_average, h.tpd_url AS h__tpd_url, h.photo_filename AS h__photo_filename, h.photo_file_updated_at AS h__photo_file_updated_at, h.photo_file_size AS h__photo_file_size, h.cache_pax_price_in_double AS h__cache_pax_price_in_double, h.cache_regular_pax_price_in_double AS h__cache_regular_pax_price_in_double, h.cache_offer_discount AS h__cache_offer_discount, h.min_booking_rooms AS h__min_booking_rooms, h.max_booking_rooms AS h__max_booking_rooms, h.is_villa AS h__is_villa, h.main_photo_filename AS h__main_photo_filename, h.zone_id AS h__zone_id, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.bank_account_id AS h__bank_account_id, h.latitude AS h__latitude, h.longitude AS h__longitude, h.payment_method_id AS h__payment_method_id, h.payment_begin_at AS h__payment_begin_at, h.payment_end_at AS h__payment_end_at, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel h WHERE (h.id = '47')
SELECT h.id AS h__id, h.destination_id AS h__destination_id, h.hotel_chain_id AS h__hotel_chain_id, h.provider_id AS h__provider_id, h.airport_id AS h__airport_id, h.taxi_price AS h__taxi_price, h.micro_price AS h__micro_price, h.mini_price AS h__mini_price, h.stars AS h__stars, h.hotel_plan_id AS h__hotel_plan_id, h.name AS h__name, h.name_ws AS h__name_ws, h.code AS h__code, h.dinner_price AS h__dinner_price, h.total_rooms AS h__total_rooms, h.is_promo AS h__is_promo, h.contract_end_at AS h__contract_end_at, h.is_active AS h__is_active, h.is_published AS h__is_published, h.url AS h__url, h.earn_percent AS h__earn_percent, h.phone AS h__phone, h.fax AS h__fax, h.adress AS h__adress, h.id_ws AS h__id_ws, h.code_ws AS h__code_ws, h.is_hotel AS h__is_hotel, h.allow_direct_booking AS h__allow_direct_booking, h.website AS h__website, h.tpd_destination_rank AS h__tpd_destination_rank, h.tpd_destination_hotel_qty AS h__tpd_destination_hotel_qty, h.tpd_review_qty AS h__tpd_review_qty, h.tpd_destination_id AS h__tpd_destination_id, h.tpd_hotel_id AS h__tpd_hotel_id, h.tpd_rating_average AS h__tpd_rating_average, h.tpd_url AS h__tpd_url, h.photo_filename AS h__photo_filename, h.photo_file_updated_at AS h__photo_file_updated_at, h.photo_file_size AS h__photo_file_size, h.cache_pax_price_in_double AS h__cache_pax_price_in_double, h.cache_regular_pax_price_in_double AS h__cache_regular_pax_price_in_double, h.cache_offer_discount AS h__cache_offer_discount, h.min_booking_rooms AS h__min_booking_rooms, h.max_booking_rooms AS h__max_booking_rooms, h.is_villa AS h__is_villa, h.main_photo_filename AS h__main_photo_filename, h.zone_id AS h__zone_id, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.bank_account_id AS h__bank_account_id, h.latitude AS h__latitude, h.longitude AS h__longitude, h.payment_method_id AS h__payment_method_id, h.payment_begin_at AS h__payment_begin_at, h.payment_end_at AS h__payment_end_at, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel h WHERE (h.id = '47')
SELECT h.id AS h__id, h.destination_id AS h__destination_id, h.hotel_chain_id AS h__hotel_chain_id, h.provider_id AS h__provider_id, h.airport_id AS h__airport_id, h.taxi_price AS h__taxi_price, h.micro_price AS h__micro_price, h.mini_price AS h__mini_price, h.stars AS h__stars, h.hotel_plan_id AS h__hotel_plan_id, h.name AS h__name, h.name_ws AS h__name_ws, h.code AS h__code, h.dinner_price AS h__dinner_price, h.total_rooms AS h__total_rooms, h.is_promo AS h__is_promo, h.contract_end_at AS h__contract_end_at, h.is_active AS h__is_active, h.is_published AS h__is_published, h.url AS h__url, h.earn_percent AS h__earn_percent, h.phone AS h__phone, h.fax AS h__fax, h.adress AS h__adress, h.id_ws AS h__id_ws, h.code_ws AS h__code_ws, h.is_hotel AS h__is_hotel, h.allow_direct_booking AS h__allow_direct_booking, h.website AS h__website, h.tpd_destination_rank AS h__tpd_destination_rank, h.tpd_destination_hotel_qty AS h__tpd_destination_hotel_qty, h.tpd_review_qty AS h__tpd_review_qty, h.tpd_destination_id AS h__tpd_destination_id, h.tpd_hotel_id AS h__tpd_hotel_id, h.tpd_rating_average AS h__tpd_rating_average, h.tpd_url AS h__tpd_url, h.photo_filename AS h__photo_filename, h.photo_file_updated_at AS h__photo_file_updated_at, h.photo_file_size AS h__photo_file_size, h.cache_pax_price_in_double AS h__cache_pax_price_in_double, h.cache_regular_pax_price_in_double AS h__cache_regular_pax_price_in_double, h.cache_offer_discount AS h__cache_offer_discount, h.min_booking_rooms AS h__min_booking_rooms, h.max_booking_rooms AS h__max_booking_rooms, h.is_villa AS h__is_villa, h.main_photo_filename AS h__main_photo_filename, h.zone_id AS h__zone_id, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.bank_account_id AS h__bank_account_id, h.latitude AS h__latitude, h.longitude AS h__longitude, h.payment_method_id AS h__payment_method_id, h.payment_begin_at AS h__payment_begin_at, h.payment_end_at AS h__payment_end_at, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel h WHERE (h.id = '47')
SELECT h.id AS h__id, h.destination_id AS h__destination_id, h.hotel_chain_id AS h__hotel_chain_id, h.provider_id AS h__provider_id, h.airport_id AS h__airport_id, h.taxi_price AS h__taxi_price, h.micro_price AS h__micro_price, h.mini_price AS h__mini_price, h.stars AS h__stars, h.hotel_plan_id AS h__hotel_plan_id, h.name AS h__name, h.name_ws AS h__name_ws, h.code AS h__code, h.dinner_price AS h__dinner_price, h.total_rooms AS h__total_rooms, h.is_promo AS h__is_promo, h.contract_end_at AS h__contract_end_at, h.is_active AS h__is_active, h.is_published AS h__is_published, h.url AS h__url, h.earn_percent AS h__earn_percent, h.phone AS h__phone, h.fax AS h__fax, h.adress AS h__adress, h.id_ws AS h__id_ws, h.code_ws AS h__code_ws, h.is_hotel AS h__is_hotel, h.allow_direct_booking AS h__allow_direct_booking, h.website AS h__website, h.tpd_destination_rank AS h__tpd_destination_rank, h.tpd_destination_hotel_qty AS h__tpd_destination_hotel_qty, h.tpd_review_qty AS h__tpd_review_qty, h.tpd_destination_id AS h__tpd_destination_id, h.tpd_hotel_id AS h__tpd_hotel_id, h.tpd_rating_average AS h__tpd_rating_average, h.tpd_url AS h__tpd_url, h.photo_filename AS h__photo_filename, h.photo_file_updated_at AS h__photo_file_updated_at, h.photo_file_size AS h__photo_file_size, h.cache_pax_price_in_double AS h__cache_pax_price_in_double, h.cache_regular_pax_price_in_double AS h__cache_regular_pax_price_in_double, h.cache_offer_discount AS h__cache_offer_discount, h.min_booking_rooms AS h__min_booking_rooms, h.max_booking_rooms AS h__max_booking_rooms, h.is_villa AS h__is_villa, h.main_photo_filename AS h__main_photo_filename, h.zone_id AS h__zone_id, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.bank_account_id AS h__bank_account_id, h.latitude AS h__latitude, h.longitude AS h__longitude, h.payment_method_id AS h__payment_method_id, h.payment_begin_at AS h__payment_begin_at, h.payment_end_at AS h__payment_end_at, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel h WHERE (h.id = '47')
SELECT h.id AS h__id, h.destination_id AS h__destination_id, h.hotel_chain_id AS h__hotel_chain_id, h.provider_id AS h__provider_id, h.airport_id AS h__airport_id, h.taxi_price AS h__taxi_price, h.micro_price AS h__micro_price, h.mini_price AS h__mini_price, h.stars AS h__stars, h.hotel_plan_id AS h__hotel_plan_id, h.name AS h__name, h.name_ws AS h__name_ws, h.code AS h__code, h.dinner_price AS h__dinner_price, h.total_rooms AS h__total_rooms, h.is_promo AS h__is_promo, h.contract_end_at AS h__contract_end_at, h.is_active AS h__is_active, h.is_published AS h__is_published, h.url AS h__url, h.earn_percent AS h__earn_percent, h.phone AS h__phone, h.fax AS h__fax, h.adress AS h__adress, h.id_ws AS h__id_ws, h.code_ws AS h__code_ws, h.is_hotel AS h__is_hotel, h.allow_direct_booking AS h__allow_direct_booking, h.website AS h__website, h.tpd_destination_rank AS h__tpd_destination_rank, h.tpd_destination_hotel_qty AS h__tpd_destination_hotel_qty, h.tpd_review_qty AS h__tpd_review_qty, h.tpd_destination_id AS h__tpd_destination_id, h.tpd_hotel_id AS h__tpd_hotel_id, h.tpd_rating_average AS h__tpd_rating_average, h.tpd_url AS h__tpd_url, h.photo_filename AS h__photo_filename, h.photo_file_updated_at AS h__photo_file_updated_at, h.photo_file_size AS h__photo_file_size, h.cache_pax_price_in_double AS h__cache_pax_price_in_double, h.cache_regular_pax_price_in_double AS h__cache_regular_pax_price_in_double, h.cache_offer_discount AS h__cache_offer_discount, h.min_booking_rooms AS h__min_booking_rooms, h.max_booking_rooms AS h__max_booking_rooms, h.is_villa AS h__is_villa, h.main_photo_filename AS h__main_photo_filename, h.zone_id AS h__zone_id, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.bank_account_id AS h__bank_account_id, h.latitude AS h__latitude, h.longitude AS h__longitude, h.payment_method_id AS h__payment_method_id, h.payment_begin_at AS h__payment_begin_at, h.payment_end_at AS h__payment_end_at, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel h WHERE (h.id = '47')
SELECT h.id AS h__id, h.destination_id AS h__destination_id, h.hotel_chain_id AS h__hotel_chain_id, h.provider_id AS h__provider_id, h.airport_id AS h__airport_id, h.taxi_price AS h__taxi_price, h.micro_price AS h__micro_price, h.mini_price AS h__mini_price, h.stars AS h__stars, h.hotel_plan_id AS h__hotel_plan_id, h.name AS h__name, h.name_ws AS h__name_ws, h.code AS h__code, h.dinner_price AS h__dinner_price, h.total_rooms AS h__total_rooms, h.is_promo AS h__is_promo, h.contract_end_at AS h__contract_end_at, h.is_active AS h__is_active, h.is_published AS h__is_published, h.url AS h__url, h.earn_percent AS h__earn_percent, h.phone AS h__phone, h.fax AS h__fax, h.adress AS h__adress, h.id_ws AS h__id_ws, h.code_ws AS h__code_ws, h.is_hotel AS h__is_hotel, h.allow_direct_booking AS h__allow_direct_booking, h.website AS h__website, h.tpd_destination_rank AS h__tpd_destination_rank, h.tpd_destination_hotel_qty AS h__tpd_destination_hotel_qty, h.tpd_review_qty AS h__tpd_review_qty, h.tpd_destination_id AS h__tpd_destination_id, h.tpd_hotel_id AS h__tpd_hotel_id, h.tpd_rating_average AS h__tpd_rating_average, h.tpd_url AS h__tpd_url, h.photo_filename AS h__photo_filename, h.photo_file_updated_at AS h__photo_file_updated_at, h.photo_file_size AS h__photo_file_size, h.cache_pax_price_in_double AS h__cache_pax_price_in_double, h.cache_regular_pax_price_in_double AS h__cache_regular_pax_price_in_double, h.cache_offer_discount AS h__cache_offer_discount, h.min_booking_rooms AS h__min_booking_rooms, h.max_booking_rooms AS h__max_booking_rooms, h.is_villa AS h__is_villa, h.main_photo_filename AS h__main_photo_filename, h.zone_id AS h__zone_id, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.bank_account_id AS h__bank_account_id, h.latitude AS h__latitude, h.longitude AS h__longitude, h.payment_method_id AS h__payment_method_id, h.payment_begin_at AS h__payment_begin_at, h.payment_end_at AS h__payment_end_at, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel h WHERE (h.id = '47')
SELECT h.id AS h__id, h.destination_id AS h__destination_id, h.hotel_chain_id AS h__hotel_chain_id, h.provider_id AS h__provider_id, h.airport_id AS h__airport_id, h.taxi_price AS h__taxi_price, h.micro_price AS h__micro_price, h.mini_price AS h__mini_price, h.stars AS h__stars, h.hotel_plan_id AS h__hotel_plan_id, h.name AS h__name, h.name_ws AS h__name_ws, h.code AS h__code, h.dinner_price AS h__dinner_price, h.total_rooms AS h__total_rooms, h.is_promo AS h__is_promo, h.contract_end_at AS h__contract_end_at, h.is_active AS h__is_active, h.is_published AS h__is_published, h.url AS h__url, h.earn_percent AS h__earn_percent, h.phone AS h__phone, h.fax AS h__fax, h.adress AS h__adress, h.id_ws AS h__id_ws, h.code_ws AS h__code_ws, h.is_hotel AS h__is_hotel, h.allow_direct_booking AS h__allow_direct_booking, h.website AS h__website, h.tpd_destination_rank AS h__tpd_destination_rank, h.tpd_destination_hotel_qty AS h__tpd_destination_hotel_qty, h.tpd_review_qty AS h__tpd_review_qty, h.tpd_destination_id AS h__tpd_destination_id, h.tpd_hotel_id AS h__tpd_hotel_id, h.tpd_rating_average AS h__tpd_rating_average, h.tpd_url AS h__tpd_url, h.photo_filename AS h__photo_filename, h.photo_file_updated_at AS h__photo_file_updated_at, h.photo_file_size AS h__photo_file_size, h.cache_pax_price_in_double AS h__cache_pax_price_in_double, h.cache_regular_pax_price_in_double AS h__cache_regular_pax_price_in_double, h.cache_offer_discount AS h__cache_offer_discount, h.min_booking_rooms AS h__min_booking_rooms, h.max_booking_rooms AS h__max_booking_rooms, h.is_villa AS h__is_villa, h.main_photo_filename AS h__main_photo_filename, h.zone_id AS h__zone_id, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.bank_account_id AS h__bank_account_id, h.latitude AS h__latitude, h.longitude AS h__longitude, h.payment_method_id AS h__payment_method_id, h.payment_begin_at AS h__payment_begin_at, h.payment_end_at AS h__payment_end_at, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel h WHERE (h.id = '47')
SELECT h.id AS h__id, h.destination_id AS h__destination_id, h.hotel_chain_id AS h__hotel_chain_id, h.provider_id AS h__provider_id, h.airport_id AS h__airport_id, h.taxi_price AS h__taxi_price, h.micro_price AS h__micro_price, h.mini_price AS h__mini_price, h.stars AS h__stars, h.hotel_plan_id AS h__hotel_plan_id, h.name AS h__name, h.name_ws AS h__name_ws, h.code AS h__code, h.dinner_price AS h__dinner_price, h.total_rooms AS h__total_rooms, h.is_promo AS h__is_promo, h.contract_end_at AS h__contract_end_at, h.is_active AS h__is_active, h.is_published AS h__is_published, h.url AS h__url, h.earn_percent AS h__earn_percent, h.phone AS h__phone, h.fax AS h__fax, h.adress AS h__adress, h.id_ws AS h__id_ws, h.code_ws AS h__code_ws, h.is_hotel AS h__is_hotel, h.allow_direct_booking AS h__allow_direct_booking, h.website AS h__website, h.tpd_destination_rank AS h__tpd_destination_rank, h.tpd_destination_hotel_qty AS h__tpd_destination_hotel_qty, h.tpd_review_qty AS h__tpd_review_qty, h.tpd_destination_id AS h__tpd_destination_id, h.tpd_hotel_id AS h__tpd_hotel_id, h.tpd_rating_average AS h__tpd_rating_average, h.tpd_url AS h__tpd_url, h.photo_filename AS h__photo_filename, h.photo_file_updated_at AS h__photo_file_updated_at, h.photo_file_size AS h__photo_file_size, h.cache_pax_price_in_double AS h__cache_pax_price_in_double, h.cache_regular_pax_price_in_double AS h__cache_regular_pax_price_in_double, h.cache_offer_discount AS h__cache_offer_discount, h.min_booking_rooms AS h__min_booking_rooms, h.max_booking_rooms AS h__max_booking_rooms, h.is_villa AS h__is_villa, h.main_photo_filename AS h__main_photo_filename, h.zone_id AS h__zone_id, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.bank_account_id AS h__bank_account_id, h.latitude AS h__latitude, h.longitude AS h__longitude, h.payment_method_id AS h__payment_method_id, h.payment_begin_at AS h__payment_begin_at, h.payment_end_at AS h__payment_end_at, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel h WHERE (h.id = '47')
SELECT h.id AS h__id, h.destination_id AS h__destination_id, h.hotel_chain_id AS h__hotel_chain_id, h.provider_id AS h__provider_id, h.airport_id AS h__airport_id, h.taxi_price AS h__taxi_price, h.micro_price AS h__micro_price, h.mini_price AS h__mini_price, h.stars AS h__stars, h.hotel_plan_id AS h__hotel_plan_id, h.name AS h__name, h.name_ws AS h__name_ws, h.code AS h__code, h.dinner_price AS h__dinner_price, h.total_rooms AS h__total_rooms, h.is_promo AS h__is_promo, h.contract_end_at AS h__contract_end_at, h.is_active AS h__is_active, h.is_published AS h__is_published, h.url AS h__url, h.earn_percent AS h__earn_percent, h.phone AS h__phone, h.fax AS h__fax, h.adress AS h__adress, h.id_ws AS h__id_ws, h.code_ws AS h__code_ws, h.is_hotel AS h__is_hotel, h.allow_direct_booking AS h__allow_direct_booking, h.website AS h__website, h.tpd_destination_rank AS h__tpd_destination_rank, h.tpd_destination_hotel_qty AS h__tpd_destination_hotel_qty, h.tpd_review_qty AS h__tpd_review_qty, h.tpd_destination_id AS h__tpd_destination_id, h.tpd_hotel_id AS h__tpd_hotel_id, h.tpd_rating_average AS h__tpd_rating_average, h.tpd_url AS h__tpd_url, h.photo_filename AS h__photo_filename, h.photo_file_updated_at AS h__photo_file_updated_at, h.photo_file_size AS h__photo_file_size, h.cache_pax_price_in_double AS h__cache_pax_price_in_double, h.cache_regular_pax_price_in_double AS h__cache_regular_pax_price_in_double, h.cache_offer_discount AS h__cache_offer_discount, h.min_booking_rooms AS h__min_booking_rooms, h.max_booking_rooms AS h__max_booking_rooms, h.is_villa AS h__is_villa, h.main_photo_filename AS h__main_photo_filename, h.zone_id AS h__zone_id, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.bank_account_id AS h__bank_account_id, h.latitude AS h__latitude, h.longitude AS h__longitude, h.payment_method_id AS h__payment_method_id, h.payment_begin_at AS h__payment_begin_at, h.payment_end_at AS h__payment_end_at, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel h WHERE (h.id = '47')
SELECT h.id AS h__id, h.destination_id AS h__destination_id, h.hotel_chain_id AS h__hotel_chain_id, h.provider_id AS h__provider_id, h.airport_id AS h__airport_id, h.taxi_price AS h__taxi_price, h.micro_price AS h__micro_price, h.mini_price AS h__mini_price, h.stars AS h__stars, h.hotel_plan_id AS h__hotel_plan_id, h.name AS h__name, h.name_ws AS h__name_ws, h.code AS h__code, h.dinner_price AS h__dinner_price, h.total_rooms AS h__total_rooms, h.is_promo AS h__is_promo, h.contract_end_at AS h__contract_end_at, h.is_active AS h__is_active, h.is_published AS h__is_published, h.url AS h__url, h.earn_percent AS h__earn_percent, h.phone AS h__phone, h.fax AS h__fax, h.adress AS h__adress, h.id_ws AS h__id_ws, h.code_ws AS h__code_ws, h.is_hotel AS h__is_hotel, h.allow_direct_booking AS h__allow_direct_booking, h.website AS h__website, h.tpd_destination_rank AS h__tpd_destination_rank, h.tpd_destination_hotel_qty AS h__tpd_destination_hotel_qty, h.tpd_review_qty AS h__tpd_review_qty, h.tpd_destination_id AS h__tpd_destination_id, h.tpd_hotel_id AS h__tpd_hotel_id, h.tpd_rating_average AS h__tpd_rating_average, h.tpd_url AS h__tpd_url, h.photo_filename AS h__photo_filename, h.photo_file_updated_at AS h__photo_file_updated_at, h.photo_file_size AS h__photo_file_size, h.cache_pax_price_in_double AS h__cache_pax_price_in_double, h.cache_regular_pax_price_in_double AS h__cache_regular_pax_price_in_double, h.cache_offer_discount AS h__cache_offer_discount, h.min_booking_rooms AS h__min_booking_rooms, h.max_booking_rooms AS h__max_booking_rooms, h.is_villa AS h__is_villa, h.main_photo_filename AS h__main_photo_filename, h.zone_id AS h__zone_id, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.bank_account_id AS h__bank_account_id, h.latitude AS h__latitude, h.longitude AS h__longitude, h.payment_method_id AS h__payment_method_id, h.payment_begin_at AS h__payment_begin_at, h.payment_end_at AS h__payment_end_at, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel h WHERE (h.id = '47')
SELECT h.id AS h__id, h.destination_id AS h__destination_id, h.hotel_chain_id AS h__hotel_chain_id, h.provider_id AS h__provider_id, h.airport_id AS h__airport_id, h.taxi_price AS h__taxi_price, h.micro_price AS h__micro_price, h.mini_price AS h__mini_price, h.stars AS h__stars, h.hotel_plan_id AS h__hotel_plan_id, h.name AS h__name, h.name_ws AS h__name_ws, h.code AS h__code, h.dinner_price AS h__dinner_price, h.total_rooms AS h__total_rooms, h.is_promo AS h__is_promo, h.contract_end_at AS h__contract_end_at, h.is_active AS h__is_active, h.is_published AS h__is_published, h.url AS h__url, h.earn_percent AS h__earn_percent, h.phone AS h__phone, h.fax AS h__fax, h.adress AS h__adress, h.id_ws AS h__id_ws, h.code_ws AS h__code_ws, h.is_hotel AS h__is_hotel, h.allow_direct_booking AS h__allow_direct_booking, h.website AS h__website, h.tpd_destination_rank AS h__tpd_destination_rank, h.tpd_destination_hotel_qty AS h__tpd_destination_hotel_qty, h.tpd_review_qty AS h__tpd_review_qty, h.tpd_destination_id AS h__tpd_destination_id, h.tpd_hotel_id AS h__tpd_hotel_id, h.tpd_rating_average AS h__tpd_rating_average, h.tpd_url AS h__tpd_url, h.photo_filename AS h__photo_filename, h.photo_file_updated_at AS h__photo_file_updated_at, h.photo_file_size AS h__photo_file_size, h.cache_pax_price_in_double AS h__cache_pax_price_in_double, h.cache_regular_pax_price_in_double AS h__cache_regular_pax_price_in_double, h.cache_offer_discount AS h__cache_offer_discount, h.min_booking_rooms AS h__min_booking_rooms, h.max_booking_rooms AS h__max_booking_rooms, h.is_villa AS h__is_villa, h.main_photo_filename AS h__main_photo_filename, h.zone_id AS h__zone_id, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.bank_account_id AS h__bank_account_id, h.latitude AS h__latitude, h.longitude AS h__longitude, h.payment_method_id AS h__payment_method_id, h.payment_begin_at AS h__payment_begin_at, h.payment_end_at AS h__payment_end_at, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel h WHERE (h.id = '47')
SELECT h.id AS h__id, h.destination_id AS h__destination_id, h.hotel_chain_id AS h__hotel_chain_id, h.provider_id AS h__provider_id, h.airport_id AS h__airport_id, h.taxi_price AS h__taxi_price, h.micro_price AS h__micro_price, h.mini_price AS h__mini_price, h.stars AS h__stars, h.hotel_plan_id AS h__hotel_plan_id, h.name AS h__name, h.name_ws AS h__name_ws, h.code AS h__code, h.dinner_price AS h__dinner_price, h.total_rooms AS h__total_rooms, h.is_promo AS h__is_promo, h.contract_end_at AS h__contract_end_at, h.is_active AS h__is_active, h.is_published AS h__is_published, h.url AS h__url, h.earn_percent AS h__earn_percent, h.phone AS h__phone, h.fax AS h__fax, h.adress AS h__adress, h.id_ws AS h__id_ws, h.code_ws AS h__code_ws, h.is_hotel AS h__is_hotel, h.allow_direct_booking AS h__allow_direct_booking, h.website AS h__website, h.tpd_destination_rank AS h__tpd_destination_rank, h.tpd_destination_hotel_qty AS h__tpd_destination_hotel_qty, h.tpd_review_qty AS h__tpd_review_qty, h.tpd_destination_id AS h__tpd_destination_id, h.tpd_hotel_id AS h__tpd_hotel_id, h.tpd_rating_average AS h__tpd_rating_average, h.tpd_url AS h__tpd_url, h.photo_filename AS h__photo_filename, h.photo_file_updated_at AS h__photo_file_updated_at, h.photo_file_size AS h__photo_file_size, h.cache_pax_price_in_double AS h__cache_pax_price_in_double, h.cache_regular_pax_price_in_double AS h__cache_regular_pax_price_in_double, h.cache_offer_discount AS h__cache_offer_discount, h.min_booking_rooms AS h__min_booking_rooms, h.max_booking_rooms AS h__max_booking_rooms, h.is_villa AS h__is_villa, h.main_photo_filename AS h__main_photo_filename, h.zone_id AS h__zone_id, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.bank_account_id AS h__bank_account_id, h.latitude AS h__latitude, h.longitude AS h__longitude, h.payment_method_id AS h__payment_method_id, h.payment_begin_at AS h__payment_begin_at, h.payment_end_at AS h__payment_end_at, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel h WHERE (h.id = '47')
SELECT h.id AS h__id, h.destination_id AS h__destination_id, h.hotel_chain_id AS h__hotel_chain_id, h.provider_id AS h__provider_id, h.airport_id AS h__airport_id, h.taxi_price AS h__taxi_price, h.micro_price AS h__micro_price, h.mini_price AS h__mini_price, h.stars AS h__stars, h.hotel_plan_id AS h__hotel_plan_id, h.name AS h__name, h.name_ws AS h__name_ws, h.code AS h__code, h.dinner_price AS h__dinner_price, h.total_rooms AS h__total_rooms, h.is_promo AS h__is_promo, h.contract_end_at AS h__contract_end_at, h.is_active AS h__is_active, h.is_published AS h__is_published, h.url AS h__url, h.earn_percent AS h__earn_percent, h.phone AS h__phone, h.fax AS h__fax, h.adress AS h__adress, h.id_ws AS h__id_ws, h.code_ws AS h__code_ws, h.is_hotel AS h__is_hotel, h.allow_direct_booking AS h__allow_direct_booking, h.website AS h__website, h.tpd_destination_rank AS h__tpd_destination_rank, h.tpd_destination_hotel_qty AS h__tpd_destination_hotel_qty, h.tpd_review_qty AS h__tpd_review_qty, h.tpd_destination_id AS h__tpd_destination_id, h.tpd_hotel_id AS h__tpd_hotel_id, h.tpd_rating_average AS h__tpd_rating_average, h.tpd_url AS h__tpd_url, h.photo_filename AS h__photo_filename, h.photo_file_updated_at AS h__photo_file_updated_at, h.photo_file_size AS h__photo_file_size, h.cache_pax_price_in_double AS h__cache_pax_price_in_double, h.cache_regular_pax_price_in_double AS h__cache_regular_pax_price_in_double, h.cache_offer_discount AS h__cache_offer_discount, h.min_booking_rooms AS h__min_booking_rooms, h.max_booking_rooms AS h__max_booking_rooms, h.is_villa AS h__is_villa, h.main_photo_filename AS h__main_photo_filename, h.zone_id AS h__zone_id, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.bank_account_id AS h__bank_account_id, h.latitude AS h__latitude, h.longitude AS h__longitude, h.payment_method_id AS h__payment_method_id, h.payment_begin_at AS h__payment_begin_at, h.payment_end_at AS h__payment_end_at, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel h WHERE (h.id = '47')
SELECT h.id AS h__id, h.destination_id AS h__destination_id, h.hotel_chain_id AS h__hotel_chain_id, h.provider_id AS h__provider_id, h.airport_id AS h__airport_id, h.taxi_price AS h__taxi_price, h.micro_price AS h__micro_price, h.mini_price AS h__mini_price, h.stars AS h__stars, h.hotel_plan_id AS h__hotel_plan_id, h.name AS h__name, h.name_ws AS h__name_ws, h.code AS h__code, h.dinner_price AS h__dinner_price, h.total_rooms AS h__total_rooms, h.is_promo AS h__is_promo, h.contract_end_at AS h__contract_end_at, h.is_active AS h__is_active, h.is_published AS h__is_published, h.url AS h__url, h.earn_percent AS h__earn_percent, h.phone AS h__phone, h.fax AS h__fax, h.adress AS h__adress, h.id_ws AS h__id_ws, h.code_ws AS h__code_ws, h.is_hotel AS h__is_hotel, h.allow_direct_booking AS h__allow_direct_booking, h.website AS h__website, h.tpd_destination_rank AS h__tpd_destination_rank, h.tpd_destination_hotel_qty AS h__tpd_destination_hotel_qty, h.tpd_review_qty AS h__tpd_review_qty, h.tpd_destination_id AS h__tpd_destination_id, h.tpd_hotel_id AS h__tpd_hotel_id, h.tpd_rating_average AS h__tpd_rating_average, h.tpd_url AS h__tpd_url, h.photo_filename AS h__photo_filename, h.photo_file_updated_at AS h__photo_file_updated_at, h.photo_file_size AS h__photo_file_size, h.cache_pax_price_in_double AS h__cache_pax_price_in_double, h.cache_regular_pax_price_in_double AS h__cache_regular_pax_price_in_double, h.cache_offer_discount AS h__cache_offer_discount, h.min_booking_rooms AS h__min_booking_rooms, h.max_booking_rooms AS h__max_booking_rooms, h.is_villa AS h__is_villa, h.main_photo_filename AS h__main_photo_filename, h.zone_id AS h__zone_id, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.bank_account_id AS h__bank_account_id, h.latitude AS h__latitude, h.longitude AS h__longitude, h.payment_method_id AS h__payment_method_id, h.payment_begin_at AS h__payment_begin_at, h.payment_end_at AS h__payment_end_at, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel h WHERE (h.id = '47')
SELECT h.id AS h__id, h.destination_id AS h__destination_id, h.hotel_chain_id AS h__hotel_chain_id, h.provider_id AS h__provider_id, h.airport_id AS h__airport_id, h.taxi_price AS h__taxi_price, h.micro_price AS h__micro_price, h.mini_price AS h__mini_price, h.stars AS h__stars, h.hotel_plan_id AS h__hotel_plan_id, h.name AS h__name, h.name_ws AS h__name_ws, h.code AS h__code, h.dinner_price AS h__dinner_price, h.total_rooms AS h__total_rooms, h.is_promo AS h__is_promo, h.contract_end_at AS h__contract_end_at, h.is_active AS h__is_active, h.is_published AS h__is_published, h.url AS h__url, h.earn_percent AS h__earn_percent, h.phone AS h__phone, h.fax AS h__fax, h.adress AS h__adress, h.id_ws AS h__id_ws, h.code_ws AS h__code_ws, h.is_hotel AS h__is_hotel, h.allow_direct_booking AS h__allow_direct_booking, h.website AS h__website, h.tpd_destination_rank AS h__tpd_destination_rank, h.tpd_destination_hotel_qty AS h__tpd_destination_hotel_qty, h.tpd_review_qty AS h__tpd_review_qty, h.tpd_destination_id AS h__tpd_destination_id, h.tpd_hotel_id AS h__tpd_hotel_id, h.tpd_rating_average AS h__tpd_rating_average, h.tpd_url AS h__tpd_url, h.photo_filename AS h__photo_filename, h.photo_file_updated_at AS h__photo_file_updated_at, h.photo_file_size AS h__photo_file_size, h.cache_pax_price_in_double AS h__cache_pax_price_in_double, h.cache_regular_pax_price_in_double AS h__cache_regular_pax_price_in_double, h.cache_offer_discount AS h__cache_offer_discount, h.min_booking_rooms AS h__min_booking_rooms, h.max_booking_rooms AS h__max_booking_rooms, h.is_villa AS h__is_villa, h.main_photo_filename AS h__main_photo_filename, h.zone_id AS h__zone_id, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.bank_account_id AS h__bank_account_id, h.latitude AS h__latitude, h.longitude AS h__longitude, h.payment_method_id AS h__payment_method_id, h.payment_begin_at AS h__payment_begin_at, h.payment_end_at AS h__payment_end_at, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel h WHERE (h.id = '47')
SELECT h.id AS h__id, h.destination_id AS h__destination_id, h.hotel_chain_id AS h__hotel_chain_id, h.provider_id AS h__provider_id, h.airport_id AS h__airport_id, h.taxi_price AS h__taxi_price, h.micro_price AS h__micro_price, h.mini_price AS h__mini_price, h.stars AS h__stars, h.hotel_plan_id AS h__hotel_plan_id, h.name AS h__name, h.name_ws AS h__name_ws, h.code AS h__code, h.dinner_price AS h__dinner_price, h.total_rooms AS h__total_rooms, h.is_promo AS h__is_promo, h.contract_end_at AS h__contract_end_at, h.is_active AS h__is_active, h.is_published AS h__is_published, h.url AS h__url, h.earn_percent AS h__earn_percent, h.phone AS h__phone, h.fax AS h__fax, h.adress AS h__adress, h.id_ws AS h__id_ws, h.code_ws AS h__code_ws, h.is_hotel AS h__is_hotel, h.allow_direct_booking AS h__allow_direct_booking, h.website AS h__website, h.tpd_destination_rank AS h__tpd_destination_rank, h.tpd_destination_hotel_qty AS h__tpd_destination_hotel_qty, h.tpd_review_qty AS h__tpd_review_qty, h.tpd_destination_id AS h__tpd_destination_id, h.tpd_hotel_id AS h__tpd_hotel_id, h.tpd_rating_average AS h__tpd_rating_average, h.tpd_url AS h__tpd_url, h.photo_filename AS h__photo_filename, h.photo_file_updated_at AS h__photo_file_updated_at, h.photo_file_size AS h__photo_file_size, h.cache_pax_price_in_double AS h__cache_pax_price_in_double, h.cache_regular_pax_price_in_double AS h__cache_regular_pax_price_in_double, h.cache_offer_discount AS h__cache_offer_discount, h.min_booking_rooms AS h__min_booking_rooms, h.max_booking_rooms AS h__max_booking_rooms, h.is_villa AS h__is_villa, h.main_photo_filename AS h__main_photo_filename, h.zone_id AS h__zone_id, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.bank_account_id AS h__bank_account_id, h.latitude AS h__latitude, h.longitude AS h__longitude, h.payment_method_id AS h__payment_method_id, h.payment_begin_at AS h__payment_begin_at, h.payment_end_at AS h__payment_end_at, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel h WHERE (h.id = '47')
SELECT h.id AS h__id, h.destination_id AS h__destination_id, h.hotel_chain_id AS h__hotel_chain_id, h.provider_id AS h__provider_id, h.airport_id AS h__airport_id, h.taxi_price AS h__taxi_price, h.micro_price AS h__micro_price, h.mini_price AS h__mini_price, h.stars AS h__stars, h.hotel_plan_id AS h__hotel_plan_id, h.name AS h__name, h.name_ws AS h__name_ws, h.code AS h__code, h.dinner_price AS h__dinner_price, h.total_rooms AS h__total_rooms, h.is_promo AS h__is_promo, h.contract_end_at AS h__contract_end_at, h.is_active AS h__is_active, h.is_published AS h__is_published, h.url AS h__url, h.earn_percent AS h__earn_percent, h.phone AS h__phone, h.fax AS h__fax, h.adress AS h__adress, h.id_ws AS h__id_ws, h.code_ws AS h__code_ws, h.is_hotel AS h__is_hotel, h.allow_direct_booking AS h__allow_direct_booking, h.website AS h__website, h.tpd_destination_rank AS h__tpd_destination_rank, h.tpd_destination_hotel_qty AS h__tpd_destination_hotel_qty, h.tpd_review_qty AS h__tpd_review_qty, h.tpd_destination_id AS h__tpd_destination_id, h.tpd_hotel_id AS h__tpd_hotel_id, h.tpd_rating_average AS h__tpd_rating_average, h.tpd_url AS h__tpd_url, h.photo_filename AS h__photo_filename, h.photo_file_updated_at AS h__photo_file_updated_at, h.photo_file_size AS h__photo_file_size, h.cache_pax_price_in_double AS h__cache_pax_price_in_double, h.cache_regular_pax_price_in_double AS h__cache_regular_pax_price_in_double, h.cache_offer_discount AS h__cache_offer_discount, h.min_booking_rooms AS h__min_booking_rooms, h.max_booking_rooms AS h__max_booking_rooms, h.is_villa AS h__is_villa, h.main_photo_filename AS h__main_photo_filename, h.zone_id AS h__zone_id, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.bank_account_id AS h__bank_account_id, h.latitude AS h__latitude, h.longitude AS h__longitude, h.payment_method_id AS h__payment_method_id, h.payment_begin_at AS h__payment_begin_at, h.payment_end_at AS h__payment_end_at, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel h WHERE (h.id = '47')
SELECT h.id AS h__id, h.room_type_id AS h__room_type_id, h.hotel_id AS h__hotel_id, h.adults AS h__adults, h.children AS h__children, h.minperson AS h__minperson, h.maxperson AS h__maxperson, h.has_unique_price AS h__has_unique_price, h.availability AS h__availability, h.id_ws AS h__id_ws, h.checkin_time AS h__checkin_time, h.checkout_time AS h__checkout_time, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.cache_price_begin_at AS h__cache_price_begin_at, h.cache_price_end_at AS h__cache_price_end_at, h.orden AS h__orden, h.channel_id AS h__channel_id, h.channel_hotel_id AS h__channel_hotel_id, h.channel_room_id AS h__channel_room_id FROM hotel_room h WHERE (h.hotel_id IN ('47'))
SELECT r.id AS r__id, r.filename AS r__filename, r.hotel_room_id AS r__hotel_room_id, r.is_promo AS r__is_promo, r.version AS r__version FROM room_photo r WHERE (r.hotel_room_id IN ('53'))
SELECT r.id AS r__id, r.filename AS r__filename, r.hotel_room_id AS r__hotel_room_id, r.is_promo AS r__is_promo, r.version AS r__version FROM room_photo r WHERE (r.hotel_room_id IN ('694'))
SELECT r.id AS r__id, r.filename AS r__filename, r.hotel_room_id AS r__hotel_room_id, r.is_promo AS r__is_promo, r.version AS r__version FROM room_photo r WHERE (r.hotel_room_id IN ('2104'))
SELECT r.id AS r__id, r.title AS r__title, r.lang AS r__lang FROM room_photo_translation r WHERE (r.id IN ('2741'))
SELECT r.id AS r__id, r.filename AS r__filename, r.hotel_room_id AS r__hotel_room_id, r.is_promo AS r__is_promo, r.version AS r__version FROM room_photo r WHERE (r.hotel_room_id IN ('2106'))
SELECT d.id AS d__id, d.code AS d__code, d.lat_max AS d__lat_max, d.lng_max AS d__lng_max, d.lat_min AS d__lat_min, d.lng_min AS d__lng_min, d.is_active AS d__is_active, d.is_published AS d__is_published, d.id_ws AS d__id_ws, d.main_photo_filename AS d__main_photo_filename, d.has_free_transfer AS d__has_free_transfer, d.latitude AS d__latitude, d.longitude AS d__longitude, d.created_at AS d__created_at, d.updated_at AS d__updated_at, d2.id AS d2__id, d2.name AS d2__name, d2.summary AS d2__summary, d2.description AS d2__description, d2.trip_seo_description AS d2__trip_seo_description, d2.lang AS d2__lang, d2.h1_title AS d2__h1_title, d2.meta_title AS d2__meta_title, d2.meta_description AS d2__meta_description, d2.seo_description AS d2__seo_description, d2.meta_keywords AS d2__meta_keywords, d2.slug AS d2__slug, (CASE WHEN d2.id = 1 THEN -99 WHEN d2.id = 2 THEN -98 WHEN d2.id = 3 THEN -97 WHEN d2.id = 5 THEN -96 WHEN d2.id = 4 THEN -95 WHEN d2.id = 8 THEN -94 WHEN d2.id = 11 THEN -93 ELSE 200 END) AS d__0 FROM destination d LEFT JOIN destination_translation d2 ON d.id = d2.id, hotel h WHERE (h.destination_id = d.id AND h.is_active = 1 AND d.is_published = 1 AND h.is_published = 1) ORDER BY d__0, d2.name ASC
SELECT c.id AS c__id, c.orden AS c__orden, c.is_active AS c__is_active, c.is_published AS c__is_published, c.provider_id AS c__provider_id, c.rental_provider_id AS c__rental_provider_id, c.secure AS c__secure, c.guarantee AS c__guarantee, c.deductible AS c__deductible, c.earn_percent AS c__earn_percent, c.is_secure_inclusive AS c__is_secure_inclusive, c.cache_min_rate_price AS c__cache_min_rate_price, c.cache_max_rate_price AS c__cache_max_rate_price, c2.id AS c2__id, c2.name AS c2__name, c2.description AS c2__description, c2.lang AS c2__lang, c2.h1_title AS c2__h1_title, c2.meta_title AS c2__meta_title, c2.meta_description AS c2__meta_description, c2.seo_description AS c2__seo_description, c2.meta_keywords AS c2__meta_keywords, c2.slug AS c2__slug FROM car_category c LEFT JOIN car_category_translation c2 ON c.id = c2.id, car c3 WHERE (c3.car_category_id = c.id AND c.is_published = 1 AND c3.is_published = 1) AND (c.cache_min_rate_price <> 0 AND c.cache_max_rate_price <> 0) ORDER BY c.orden, c2.name ASC
SELECT d.id AS d__id, d.code AS d__code, d.lat_max AS d__lat_max, d.lng_max AS d__lng_max, d.lat_min AS d__lat_min, d.lng_min AS d__lng_min, d.is_active AS d__is_active, d.is_published AS d__is_published, d.id_ws AS d__id_ws, d.main_photo_filename AS d__main_photo_filename, d.has_free_transfer AS d__has_free_transfer, d.latitude AS d__latitude, d.longitude AS d__longitude, d.created_at AS d__created_at, d.updated_at AS d__updated_at FROM destination d LEFT JOIN destination_translation d2 ON d.id = d2.id, cms_trip c LEFT JOIN cms_trip_translation c2 ON c.id = c2.id WHERE (d.id = c.destination_id AND c.is_published = 1)
select distinct bl.product_id from bl_culture bl where bl.product_model = 'CmsTour' and bl.is_es_banned = true;
SELECT c.id AS c__id, c.country AS c__country, c.nights AS c__nights, c.days AS c__days, c.monday AS c__monday, c.tuesday AS c__tuesday, c.wednesday AS c__wednesday, c.thursday AS c__thursday, c.friday AS c__friday, c.saturday AS c__saturday, c.sunday AS c__sunday, c.is_active AS c__is_active, c.is_published AS c__is_published, c.earn_percent AS c__earn_percent, c.adults AS c__adults, c.children AS c__children, c.provider_id AS c__provider_id, c.departure_at AS c__departure_at, c.duration AS c__duration, c.min_persons AS c__min_persons, c.require_passport AS c__require_passport, c.is_combo AS c__is_combo, c.is_promo AS c__is_promo, c.cache_pax_price_in_double AS c__cache_pax_price_in_double, c.compound_earn_percent AS c__compound_earn_percent, c.departure_destination_id AS c__departure_destination_id, c.arrival_destination_id AS c__arrival_destination_id, c.main_photo_filename AS c__main_photo_filename, c.created_at AS c__created_at, c.updated_at AS c__updated_at, c.payment_method_id AS c__payment_method_id, c.payment_begin_at AS c__payment_begin_at, c.payment_end_at AS c__payment_end_at, c2.id AS c2__id, c2.name AS c2__name, c2.bk_name AS c2__bk_name, c2.tour_route AS c2__tour_route, c2.include AS c2__include, c2.content AS c2__content, c2.google_map AS c2__google_map, c2.lang AS c2__lang, c2.slug AS c2__slug, c2.h1_title AS c2__h1_title, c2.meta_title AS c2__meta_title, c2.meta_description AS c2__meta_description, c2.seo_description AS c2__seo_description, c2.meta_keywords AS c2__meta_keywords FROM cms_tour c LEFT JOIN cms_tour_translation c2 ON c.id = c2.id WHERE (c.is_published = 1 AND c2.name <> "" AND c.is_combo = 0) AND c2.id NOT IN ('-999', '43', '48', '128') ORDER BY c.days ASC
select distinct bl.product_id from bl_culture bl where bl.product_model = 'CmsTour' and bl.is_es_banned = true;
SELECT c.id AS c__id, c2.id AS c2__id, c2.name AS c2__name, c2.bk_name AS c2__bk_name, c2.tour_route AS c2__tour_route, c2.include AS c2__include, c2.content AS c2__content, c2.google_map AS c2__google_map, c2.lang AS c2__lang, c2.slug AS c2__slug, c2.h1_title AS c2__h1_title, c2.meta_title AS c2__meta_title, c2.meta_description AS c2__meta_description, c2.seo_description AS c2__seo_description, c2.meta_keywords AS c2__meta_keywords FROM cms_tour c LEFT JOIN cms_tour_translation c2 ON c.id = c2.id WHERE (c.is_published = 1 AND c2.name <> "" AND c.is_combo = 1) AND c.id NOT IN ('-999', '43', '48', '128') ORDER BY c.days ASC
SELECT c.id AS c__id, c.menu AS c__menu, c.template AS c__template, c.is_active AS c__is_active, c.is_published AS c__is_published, c.orden AS c__orden, c.created_at AS c__created_at, c.updated_at AS c__updated_at, c2.id AS c2__id, c2.name AS c2__name, c2.content AS c2__content, c2.lang AS c2__lang, c2.slug AS c2__slug, c2.h1_title AS c2__h1_title, c2.meta_title AS c2__meta_title, c2.meta_description AS c2__meta_description, c2.seo_description AS c2__seo_description, c2.meta_keywords AS c2__meta_keywords FROM cms c LEFT JOIN cms_translation c2 ON c.id = c2.id WHERE (c.id = '5' AND c.is_published = '1')
SELECT h.id AS h__id, h.destination_id AS h__destination_id, h.hotel_chain_id AS h__hotel_chain_id, h.provider_id AS h__provider_id, h.airport_id AS h__airport_id, h.taxi_price AS h__taxi_price, h.micro_price AS h__micro_price, h.mini_price AS h__mini_price, h.stars AS h__stars, h.hotel_plan_id AS h__hotel_plan_id, h.name AS h__name, h.name_ws AS h__name_ws, h.code AS h__code, h.dinner_price AS h__dinner_price, h.total_rooms AS h__total_rooms, h.is_promo AS h__is_promo, h.contract_end_at AS h__contract_end_at, h.is_active AS h__is_active, h.is_published AS h__is_published, h.url AS h__url, h.earn_percent AS h__earn_percent, h.phone AS h__phone, h.fax AS h__fax, h.adress AS h__adress, h.id_ws AS h__id_ws, h.code_ws AS h__code_ws, h.is_hotel AS h__is_hotel, h.allow_direct_booking AS h__allow_direct_booking, h.website AS h__website, h.tpd_destination_rank AS h__tpd_destination_rank, h.tpd_destination_hotel_qty AS h__tpd_destination_hotel_qty, h.tpd_review_qty AS h__tpd_review_qty, h.tpd_destination_id AS h__tpd_destination_id, h.tpd_hotel_id AS h__tpd_hotel_id, h.tpd_rating_average AS h__tpd_rating_average, h.tpd_url AS h__tpd_url, h.photo_filename AS h__photo_filename, h.photo_file_updated_at AS h__photo_file_updated_at, h.photo_file_size AS h__photo_file_size, h.cache_pax_price_in_double AS h__cache_pax_price_in_double, h.cache_regular_pax_price_in_double AS h__cache_regular_pax_price_in_double, h.cache_offer_discount AS h__cache_offer_discount, h.min_booking_rooms AS h__min_booking_rooms, h.max_booking_rooms AS h__max_booking_rooms, h.is_villa AS h__is_villa, h.main_photo_filename AS h__main_photo_filename, h.zone_id AS h__zone_id, h.cache_has_free_wifi AS h__cache_has_free_wifi, h.cache_has_posibility_first_child_free AS h__cache_has_posibility_first_child_free, h.cache_discount_second_child AS h__cache_discount_second_child, h.cache_has_posibility_direct_payment AS h__cache_has_posibility_direct_payment, h.bank_account_id AS h__bank_account_id, h.latitude AS h__latitude, h.longitude AS h__longitude, h.payment_method_id AS h__payment_method_id, h.payment_begin_at AS h__payment_begin_at, h.payment_end_at AS h__payment_end_at, h.created_at AS h__created_at, h.updated_at AS h__updated_at FROM hotel h WHERE (h.id = '822') LIMIT 1
SELECT h.id AS h__id, h.description AS h__description, h.facilities AS h__facilities, h.tours AS h__tours, h.rooms AS h__rooms, h.address AS h__address, h.photo_title AS h__photo_title, h.lang AS h__lang, h.slug AS h__slug, h.h1_title AS h__h1_title, h.meta_title AS h__meta_title, h.meta_description AS h__meta_description, h.seo_description AS h__seo_description, h.meta_keywords AS h__meta_keywords FROM hotel_translation h WHERE (h.id IN ('822'))
SELECT d.id AS d__id, d.code AS d__code, d.lat_max AS d__lat_max, d.lng_max AS d__lng_max, d.lat_min AS d__lat_min, d.lng_min AS d__lng_min, d.is_active AS d__is_active, d.is_published AS d__is_published, d.id_ws AS d__id_ws, d.main_photo_filename AS d__main_photo_filename, d.has_free_transfer AS d__has_free_transfer, d.latitude AS d__latitude, d.longitude AS d__longitude, d.created_at AS d__created_at, d.updated_at AS d__updated_at FROM destination d WHERE (d.id = '1')
SELECT c.id AS c__id, c.country AS c__country, c.nights AS c__nights, c.days AS c__days, c.monday AS c__monday, c.tuesday AS c__tuesday, c.wednesday AS c__wednesday, c.thursday AS c__thursday, c.friday AS c__friday, c.saturday AS c__saturday, c.sunday AS c__sunday, c.is_active AS c__is_active, c.is_published AS c__is_published, c.earn_percent AS c__earn_percent, c.adults AS c__adults, c.children AS c__children, c.provider_id AS c__provider_id, c.departure_at AS c__departure_at, c.duration AS c__duration, c.min_persons AS c__min_persons, c.require_passport AS c__require_passport, c.is_combo AS c__is_combo, c.is_promo AS c__is_promo, c.cache_pax_price_in_double AS c__cache_pax_price_in_double, c.compound_earn_percent AS c__compound_earn_percent, c.departure_destination_id AS c__departure_destination_id, c.arrival_destination_id AS c__arrival_destination_id, c.main_photo_filename AS c__main_photo_filename, c.created_at AS c__created_at, c.updated_at AS c__updated_at, c.payment_method_id AS c__payment_method_id, c.payment_begin_at AS c__payment_begin_at, c.payment_end_at AS c__payment_end_at FROM cms_tour c WHERE (c.id = '224') LIMIT 1
SELECT c.id AS c__id, c.country AS c__country, c.nights AS c__nights, c.days AS c__days, c.monday AS c__monday, c.tuesday AS c__tuesday, c.wednesday AS c__wednesday, c.thursday AS c__thursday, c.friday AS c__friday, c.saturday AS c__saturday, c.sunday AS c__sunday, c.is_active AS c__is_active, c.is_published AS c__is_published, c.earn_percent AS c__earn_percent, c.adults AS c__adults, c.children AS c__children, c.provider_id AS c__provider_id, c.departure_at AS c__departure_at, c.duration AS c__duration, c.min_persons AS c__min_persons, c.require_passport AS c__require_passport, c.is_combo AS c__is_combo, c.is_promo AS c__is_promo, c.cache_pax_price_in_double AS c__cache_pax_price_in_double, c.compound_earn_percent AS c__compound_earn_percent, c.departure_destination_id AS c__departure_destination_id, c.arrival_destination_id AS c__arrival_destination_id, c.main_photo_filename AS c__main_photo_filename, c.created_at AS c__created_at, c.updated_at AS c__updated_at, c.payment_method_id AS c__payment_method_id, c.payment_begin_at AS c__payment_begin_at, c.payment_end_at AS c__payment_end_at FROM cms_tour c WHERE (c.id = '111') LIMIT 1
SELECT c.id AS c__id, c.country AS c__country, c.nights AS c__nights, c.days AS c__days, c.monday AS c__monday, c.tuesday AS c__tuesday, c.wednesday AS c__wednesday, c.thursday AS c__thursday, c.friday AS c__friday, c.saturday AS c__saturday, c.sunday AS c__sunday, c.is_active AS c__is_active, c.is_published AS c__is_published, c.earn_percent AS c__earn_percent, c.adults AS c__adults, c.children AS c__children, c.provider_id AS c__provider_id, c.departure_at AS c__departure_at, c.duration AS c__duration, c.min_persons AS c__min_persons, c.require_passport AS c__require_passport, c.is_combo AS c__is_combo, c.is_promo AS c__is_promo, c.cache_pax_price_in_double AS c__cache_pax_price_in_double, c.compound_earn_percent AS c__compound_earn_percent, c.departure_destination_id AS c__departure_destination_id, c.arrival_destination_id AS c__arrival_destination_id, c.main_photo_filename AS c__main_photo_filename, c.created_at AS c__created_at, c.updated_at AS c__updated_at, c.payment_method_id AS c__payment_method_id, c.payment_begin_at AS c__payment_begin_at, c.payment_end_at AS c__payment_end_at FROM cms_tour c WHERE (c.id = '119') LIMIT 1
SELECT c.id AS c__id, c.country AS c__country, c.nights AS c__nights, c.days AS c__days, c.monday AS c__monday, c.tuesday AS c__tuesday, c.wednesday AS c__wednesday, c.thursday AS c__thursday, c.friday AS c__friday, c.saturday AS c__saturday, c.sunday AS c__sunday, c.is_active AS c__is_active, c.is_published AS c__is_published, c.earn_percent AS c__earn_percent, c.adults AS c__adults, c.children AS c__children, c.provider_id AS c__provider_id, c.departure_at AS c__departure_at, c.duration AS c__duration, c.min_persons AS c__min_persons, c.require_passport AS c__require_passport, c.is_combo AS c__is_combo, c.is_promo AS c__is_promo, c.cache_pax_price_in_double AS c__cache_pax_price_in_double, c.compound_earn_percent AS c__compound_earn_percent, c.departure_destination_id AS c__departure_destination_id, c.arrival_destination_id AS c__arrival_destination_id, c.main_photo_filename AS c__main_photo_filename, c.created_at AS c__created_at, c.updated_at AS c__updated_at, c.payment_method_id AS c__payment_method_id, c.payment_begin_at AS c__payment_begin_at, c.payment_end_at AS c__payment_end_at FROM cms_tour c WHERE (c.id = '122') LIMIT 1
SELECT c.id AS c__id, c.country AS c__country, c.nights AS c__nights, c.days AS c__days, c.monday AS c__monday, c.tuesday AS c__tuesday, c.wednesday AS c__wednesday, c.thursday AS c__thursday, c.friday AS c__friday, c.saturday AS c__saturday, c.sunday AS c__sunday, c.is_active AS c__is_active, c.is_published AS c__is_published, c.earn_percent AS c__earn_percent, c.adults AS c__adults, c.children AS c__children, c.provider_id AS c__provider_id, c.departure_at AS c__departure_at, c.duration AS c__duration, c.min_persons AS c__min_persons, c.require_passport AS c__require_passport, c.is_combo AS c__is_combo, c.is_promo AS c__is_promo, c.cache_pax_price_in_double AS c__cache_pax_price_in_double, c.compound_earn_percent AS c__compound_earn_percent, c.departure_destination_id AS c__departure_destination_id, c.arrival_destination_id AS c__arrival_destination_id, c.main_photo_filename AS c__main_photo_filename, c.created_at AS c__created_at, c.updated_at AS c__updated_at, c.payment_method_id AS c__payment_method_id, c.payment_begin_at AS c__payment_begin_at, c.payment_end_at AS c__payment_end_at FROM cms_tour c WHERE (c.id = '191') LIMIT 1
SELECT c.id AS c__id, c.country AS c__country, c.nights AS c__nights, c.days AS c__days, c.monday AS c__monday, c.tuesday AS c__tuesday, c.wednesday AS c__wednesday, c.thursday AS c__thursday, c.friday AS c__friday, c.saturday AS c__saturday, c.sunday AS c__sunday, c.is_active AS c__is_active, c.is_published AS c__is_published, c.earn_percent AS c__earn_percent, c.adults AS c__adults, c.children AS c__children, c.provider_id AS c__provider_id, c.departure_at AS c__departure_at, c.duration AS c__duration, c.min_persons AS c__min_persons, c.require_passport AS c__require_passport, c.is_combo AS c__is_combo, c.is_promo AS c__is_promo, c.cache_pax_price_in_double AS c__cache_pax_price_in_double, c.compound_earn_percent AS c__compound_earn_percent, c.departure_destination_id AS c__departure_destination_id, c.arrival_destination_id AS c__arrival_destination_id, c.main_photo_filename AS c__main_photo_filename, c.created_at AS c__created_at, c.updated_at AS c__updated_at, c.payment_method_id AS c__payment_method_id, c.payment_begin_at AS c__payment_begin_at, c.payment_end_at AS c__payment_end_at FROM cms_tour c WHERE (c.id = '193') LIMIT 1
SELECT c.id AS c__id, c.country AS c__country, c.nights AS c__nights, c.days AS c__days, c.monday AS c__monday, c.tuesday AS c__tuesday, c.wednesday AS c__wednesday, c.thursday AS c__thursday, c.friday AS c__friday, c.saturday AS c__saturday, c.sunday AS c__sunday, c.is_active AS c__is_active, c.is_published AS c__is_published, c.earn_percent AS c__earn_percent, c.adults AS c__adults, c.children AS c__children, c.provider_id AS c__provider_id, c.departure_at AS c__departure_at, c.duration AS c__duration, c.min_persons AS c__min_persons, c.require_passport AS c__require_passport, c.is_combo AS c__is_combo, c.is_promo AS c__is_promo, c.cache_pax_price_in_double AS c__cache_pax_price_in_double, c.compound_earn_percent AS c__compound_earn_percent, c.departure_destination_id AS c__departure_destination_id, c.arrival_destination_id AS c__arrival_destination_id, c.main_photo_filename AS c__main_photo_filename, c.created_at AS c__created_at, c.updated_at AS c__updated_at, c.payment_method_id AS c__payment_method_id, c.payment_begin_at AS c__payment_begin_at, c.payment_end_at AS c__payment_end_at FROM cms_tour c WHERE (c.id = '222') LIMIT 1
SELECT c.id AS c__id, c.country AS c__country, c.nights AS c__nights, c.days AS c__days, c.monday AS c__monday, c.tuesday AS c__tuesday, c.wednesday AS c__wednesday, c.thursday AS c__thursday, c.friday AS c__friday, c.saturday AS c__saturday, c.sunday AS c__sunday, c.is_active AS c__is_active, c.is_published AS c__is_published, c.earn_percent AS c__earn_percent, c.adults AS c__adults, c.children AS c__children, c.provider_id AS c__provider_id, c.departure_at AS c__departure_at, c.duration AS c__duration, c.min_persons AS c__min_persons, c.require_passport AS c__require_passport, c.is_combo AS c__is_combo, c.is_promo AS c__is_promo, c.cache_pax_price_in_double AS c__cache_pax_price_in_double, c.compound_earn_percent AS c__compound_earn_percent, c.departure_destination_id AS c__departure_destination_id, c.arrival_destination_id AS c__arrival_destination_id, c.main_photo_filename AS c__main_photo_filename, c.created_at AS c__created_at, c.updated_at AS c__updated_at, c.payment_method_id AS c__payment_method_id, c.payment_begin_at AS c__payment_begin_at, c.payment_end_at AS c__payment_end_at FROM cms_tour c WHERE (c.id = '205') LIMIT 1
SELECT c.id AS c__id, c.country AS c__country, c.nights AS c__nights, c.days AS c__days, c.monday AS c__monday, c.tuesday AS c__tuesday, c.wednesday AS c__wednesday, c.thursday AS c__thursday, c.friday AS c__friday, c.saturday AS c__saturday, c.sunday AS c__sunday, c.is_active AS c__is_active, c.is_published AS c__is_published, c.earn_percent AS c__earn_percent, c.adults AS c__adults, c.children AS c__children, c.provider_id AS c__provider_id, c.departure_at AS c__departure_at, c.duration AS c__duration, c.min_persons AS c__min_persons, c.require_passport AS c__require_passport, c.is_combo AS c__is_combo, c.is_promo AS c__is_promo, c.cache_pax_price_in_double AS c__cache_pax_price_in_double, c.compound_earn_percent AS c__compound_earn_percent, c.departure_destination_id AS c__departure_destination_id, c.arrival_destination_id AS c__arrival_destination_id, c.main_photo_filename AS c__main_photo_filename, c.created_at AS c__created_at, c.updated_at AS c__updated_at, c.payment_method_id AS c__payment_method_id, c.payment_begin_at AS c__payment_begin_at, c.payment_end_at AS c__payment_end_at FROM cms_tour c WHERE (c.id = '207') LIMIT 1
SELECT c.id AS c__id, c.country AS c__country, c.nights AS c__nights, c.days AS c__days, c.monday AS c__monday, c.tuesday AS c__tuesday, c.wednesday AS c__wednesday, c.thursday AS c__thursday, c.friday AS c__friday, c.saturday AS c__saturday, c.sunday AS c__sunday, c.is_active AS c__is_active, c.is_published AS c__is_published, c.earn_percent AS c__earn_percent, c.adults AS c__adults, c.children AS c__children, c.provider_id AS c__provider_id, c.departure_at AS c__departure_at, c.duration AS c__duration, c.min_persons AS c__min_persons, c.require_passport AS c__require_passport, c.is_combo AS c__is_combo, c.is_promo AS c__is_promo, c.cache_pax_price_in_double AS c__cache_pax_price_in_double, c.compound_earn_percent AS c__compound_earn_percent, c.departure_destination_id AS c__departure_destination_id, c.arrival_destination_id AS c__arrival_destination_id, c.main_photo_filename AS c__main_photo_filename, c.created_at AS c__created_at, c.updated_at AS c__updated_at, c.payment_method_id AS c__payment_method_id, c.payment_begin_at AS c__payment_begin_at, c.payment_end_at AS c__payment_end_at FROM cms_tour c WHERE (c.id = '209') LIMIT 1
SELECT c.id AS c__id, c.country AS c__country, c.nights AS c__nights, c.days AS c__days, c.monday AS c__monday, c.tuesday AS c__tuesday, c.wednesday AS c__wednesday, c.thursday AS c__thursday, c.friday AS c__friday, c.saturday AS c__saturday, c.sunday AS c__sunday, c.is_active AS c__is_active, c.is_published AS c__is_published, c.earn_percent AS c__earn_percent, c.adults AS c__adults, c.children AS c__children, c.provider_id AS c__provider_id, c.departure_at AS c__departure_at, c.duration AS c__duration, c.min_persons AS c__min_persons, c.require_passport AS c__require_passport, c.is_combo AS c__is_combo, c.is_promo AS c__is_promo, c.cache_pax_price_in_double AS c__cache_pax_price_in_double, c.compound_earn_percent AS c__compound_earn_percent, c.departure_destination_id AS c__departure_destination_id, c.arrival_destination_id AS c__arrival_destination_id, c.main_photo_filename AS c__main_photo_filename, c.created_at AS c__created_at, c.updated_at AS c__updated_at, c.payment_method_id AS c__payment_method_id, c.payment_begin_at AS c__payment_begin_at, c.payment_end_at AS c__payment_end_at FROM cms_tour c WHERE (c.id = '211') LIMIT 1
SELECT c.id AS c__id, c.menu AS c__menu, c.template AS c__template, c.is_active AS c__is_active, c.is_published AS c__is_published, c.orden AS c__orden, c.created_at AS c__created_at, c.updated_at AS c__updated_at, c2.id AS c2__id, c2.name AS c2__name, c2.content AS c2__content, c2.lang AS c2__lang, c2.slug AS c2__slug, c2.h1_title AS c2__h1_title, c2.meta_title AS c2__meta_title, c2.meta_description AS c2__meta_description, c2.seo_description AS c2__seo_description, c2.meta_keywords AS c2__meta_keywords FROM cms c LEFT JOIN cms_translation c2 ON c.id = c2.id WHERE (c.is_published = 1 AND c2.name <> "" AND c2.slug <> "") ORDER BY c.orden, c2.name ASC
Conéctate con nuestras redes sociales
B log