SELECTa0_.idASid_0,a0_.nameASname_1,a0_.slugASslug_2,a0_.emailASemail_3,a0_.siteASsite_4,a0_.you_tube_movieASyou_tube_movie_5,a0_.descriptionASdescription_6,a0_.manager_infoASmanager_info_7,a0_.contact_infoAScontact_info_8,a0_.closing_conditionASclosing_condition_9,a0_.closing_condition_commentASclosing_condition_comment_10,a0_.addressASaddress_11,a0_.latitudeASlatitude_12,a0_.longitudeASlongitude_13,a0_.expired_atASexpired_at_14,a0_.placement_periodASplacement_period_15,a0_.placement_dateASplacement_date_16,a0_.min_priceASmin_price_17,a0_.min_capacityASmin_capacity_18,a0_.max_capacityASmax_capacity_19,a0_.viewASview_20,a0_.phone_viewASphone_view_21,a0_.site_viewASsite_view_22,a0_.address_viewASaddress_view_23,a0_.booking_countASbooking_count_24,a0_.award_participatingASaward_participating_25,a0_.paidASpaid_26,a0_.displayASdisplay_27,a0_.created_atAScreated_at_28,a0_.updated_atASupdated_at_29,f1_.idASid_30,f1_.titleAStitle_31,f1_.slugASslug_32,f1_.genitive_titleASgenitive_title_33,f1_.dative_titleASdative_title_34,f1_.accusative_titleASaccusative_title_35,f1_.instrumental_titleASinstrumental_title_36,f1_.prepositional_titleASprepositional_title_37,f1_.created_atAScreated_at_38,f1_.updated_atASupdated_at_39,f2_.idASid_40,f2_.titleAStitle_41,f2_.slugASslug_42,f2_.genitive_titleASgenitive_title_43,f2_.dative_titleASdative_title_44,f2_.accusative_titleASaccusative_title_45,f2_.instrumental_titleASinstrumental_title_46,f2_.prepositional_titleASprepositional_title_47,f2_.created_atAScreated_at_48,f2_.updated_atASupdated_at_49,a0_.image_idASimage_id_50,a0_.appearance_image_idASappearance_image_id_51,a0_.interior_image_idASinterior_image_id_52,a0_.menu_idASmenu_id_53,a0_.presentation_idASpresentation_id_54,a0_.manager_idASmanager_id_55,a0_.region_idASregion_id_56,a0_.city_idAScity_id_57,a0_.district_idASdistrict_id_58,f1_.region_idASregion_id_59,f2_.city_idAScity_id_60FROMareaa0_INNER JOINfilter_cityf1_ONa0_.city_id=f1_.idAND (f1_.region_id='1') LEFT JOINfilter_metro_areaf3_ONa0_.id=f3_.area_idLEFT JOINfilter_metrof2_ONf2_.id=f3_.filter_metro_idWHERE (a0_.display=1ANDa0_.paid=1) AND (a0_.region_id='1') ORDER BYRAND() ASCLIMIT4
SELECTa0_.idASid_0,a0_.nameASname_1,a0_.slugASslug_2,a0_.emailASemail_3,a0_.siteASsite_4,a0_.you_tube_movieASyou_tube_movie_5,a0_.descriptionASdescription_6,a0_.manager_infoASmanager_info_7,a0_.contact_infoAScontact_info_8,a0_.closing_conditionASclosing_condition_9,a0_.closing_condition_commentASclosing_condition_comment_10,a0_.addressASaddress_11,a0_.latitudeASlatitude_12,a0_.longitudeASlongitude_13,a0_.expired_atASexpired_at_14,a0_.placement_periodASplacement_period_15,a0_.placement_dateASplacement_date_16,a0_.min_priceASmin_price_17,a0_.min_capacityASmin_capacity_18,a0_.max_capacityASmax_capacity_19,a0_.viewASview_20,a0_.phone_viewASphone_view_21,a0_.site_viewASsite_view_22,a0_.address_viewASaddress_view_23,a0_.booking_countASbooking_count_24,a0_.award_participatingASaward_participating_25,a0_.paidASpaid_26,a0_.displayASdisplay_27,a0_.created_atAScreated_at_28,a0_.updated_atASupdated_at_29,f1_.idASid_30,f1_.titleAStitle_31,f1_.slugASslug_32,f1_.genitive_titleASgenitive_title_33,f1_.dative_titleASdative_title_34,f1_.accusative_titleASaccusative_title_35,f1_.instrumental_titleASinstrumental_title_36,f1_.prepositional_titleASprepositional_title_37,f1_.created_atAScreated_at_38,f1_.updated_atASupdated_at_39,f2_.idASid_40,f2_.titleAStitle_41,f2_.slugASslug_42,f2_.genitive_titleASgenitive_title_43,f2_.dative_titleASdative_title_44,f2_.accusative_titleASaccusative_title_45,f2_.instrumental_titleASinstrumental_title_46,f2_.prepositional_titleASprepositional_title_47,f2_.created_atAScreated_at_48,f2_.updated_atASupdated_at_49,a0_.image_idASimage_id_50,a0_.appearance_image_idASappearance_image_id_51,a0_.interior_image_idASinterior_image_id_52,a0_.menu_idASmenu_id_53,a0_.presentation_idASpresentation_id_54,a0_.manager_idASmanager_id_55,a0_.region_idASregion_id_56,a0_.city_idAScity_id_57,a0_.district_idASdistrict_id_58,f1_.region_idASregion_id_59,f2_.city_idAScity_id_60FROMareaa0_INNER JOINfilter_cityf1_ONa0_.city_id=f1_.idAND (f1_.region_id='1')
LEFT JOINfilter_metro_areaf3_ONa0_.id=f3_.area_idLEFT JOINfilter_metrof2_ONf2_.id=f3_.filter_metro_idWHERE
(
a0_.display=1ANDa0_.paid=1
)
AND (a0_.region_id='1')
ORDER BYRAND() ASCLIMIT4
SELECTa0_.idASid_0,a0_.nameASname_1,a0_.slugASslug_2,a0_.emailASemail_3,a0_.siteASsite_4,a0_.you_tube_movieASyou_tube_movie_5,a0_.descriptionASdescription_6,a0_.manager_infoASmanager_info_7,a0_.contact_infoAScontact_info_8,a0_.closing_conditionASclosing_condition_9,a0_.closing_condition_commentASclosing_condition_comment_10,a0_.addressASaddress_11,a0_.latitudeASlatitude_12,a0_.longitudeASlongitude_13,a0_.expired_atASexpired_at_14,a0_.placement_periodASplacement_period_15,a0_.placement_dateASplacement_date_16,a0_.min_priceASmin_price_17,a0_.min_capacityASmin_capacity_18,a0_.max_capacityASmax_capacity_19,a0_.viewASview_20,a0_.phone_viewASphone_view_21,a0_.site_viewASsite_view_22,a0_.address_viewASaddress_view_23,a0_.booking_countASbooking_count_24,a0_.award_participatingASaward_participating_25,a0_.paidASpaid_26,a0_.displayASdisplay_27,a0_.created_atAScreated_at_28,a0_.updated_atASupdated_at_29,f1_.idASid_30,f1_.titleAStitle_31,f1_.slugASslug_32,f1_.genitive_titleASgenitive_title_33,f1_.dative_titleASdative_title_34,f1_.accusative_titleASaccusative_title_35,f1_.instrumental_titleASinstrumental_title_36,f1_.prepositional_titleASprepositional_title_37,f1_.created_atAScreated_at_38,f1_.updated_atASupdated_at_39,f2_.idASid_40,f2_.titleAStitle_41,f2_.slugASslug_42,f2_.genitive_titleASgenitive_title_43,f2_.dative_titleASdative_title_44,f2_.accusative_titleASaccusative_title_45,f2_.instrumental_titleASinstrumental_title_46,f2_.prepositional_titleASprepositional_title_47,f2_.created_atAScreated_at_48,f2_.updated_atASupdated_at_49,a0_.image_idASimage_id_50,a0_.appearance_image_idASappearance_image_id_51,a0_.interior_image_idASinterior_image_id_52,a0_.menu_idASmenu_id_53,a0_.presentation_idASpresentation_id_54,a0_.manager_idASmanager_id_55,a0_.region_idASregion_id_56,a0_.city_idAScity_id_57,a0_.district_idASdistrict_id_58,f1_.region_idASregion_id_59,f2_.city_idAScity_id_60FROMareaa0_INNER JOINfilter_cityf1_ONa0_.city_id=f1_.idAND (f1_.region_id='1') LEFT JOINfilter_metro_areaf3_ONa0_.id=f3_.area_idLEFT JOINfilter_metrof2_ONf2_.id=f3_.filter_metro_idWHERE (a0_.display=1ANDa0_.paid=1) AND (a0_.region_id='1') ORDER BYRAND() ASCLIMIT4;