6
46.53 ms
SELECT c0_ . id AS id_0 , c0_ . image AS image_1 , c0_ . sort AS sort_2 , e1_ . id AS id_3 , e1_ . post_code AS post_code_4 , e1_ . facebook_link AS facebook_link_5 , e1_ . instagram_link AS instagram_link_6 , e1_ . pinterest_link AS pinterest_link_7 , e1_ . linkedin_link AS linkedin_link_8 , e1_ . tiktok_link AS tiktok_link_9 , e1_ . youtube_link AS youtube_link_10 , e1_ . vimeo_link AS vimeo_link_11 , e1_ . email_link AS email_link_12 , e1_ . phone_link AS phone_link_13 , e1_ . email_order AS email_order_14 , e1_ . mollie_api_key AS mollie_api_key_15 , e1_ . image AS image_16 , e1_ . is_active AS is_active_17 , e1_ . sort AS sort_18 , e2_ . id AS id_19 , e2_ . title AS title_20 , e2_ . slug AS slug_21 , e2_ . short_title AS short_title_22 , e2_ . sub_title AS sub_title_23 , e2_ . address AS address_24 , e2_ . city AS city_25 , e2_ . country AS country_26 , e2_ . schedule AS schedule_27 , e2_ . additional_information AS additional_information_28 , e2_ . seo_title AS seo_title_29 , e2_ . seo_description AS seo_description_30 , e2_ . seo_image AS seo_image_31 , e2_ . locale AS locale_32 , r3_ . id AS id_33 , r3_ . minimum_number_of_people AS minimum_number_of_people_34 , r3_ . maximum_number_of_people AS maximum_number_of_people_35 , r3_ . percentage_of_deposit AS percentage_of_deposit_36 , r3_ . minimum_price_with_tax AS minimum_price_with_tax_37 , r3_ . sort AS sort_38 , r3_ . background_color_checkout AS background_color_checkout_39 , r4_ . id AS id_40 , r4_ . title AS title_41 , r4_ . slug AS slug_42 , r4_ . seo_title AS seo_title_43 , r4_ . seo_description AS seo_description_44 , r4_ . seo_image AS seo_image_45 , r4_ . locale AS locale_46 , r5_ . id AS id_47 , r5_ . image AS image_48 , r5_ . sort AS sort_49 , r6_ . id AS id_50 , r6_ . sort AS sort_51 , r7_ . id AS id_52 , r7_ . title AS title_53 , r7_ . locale AS locale_54 , c8_ . id AS id_55 , c8_ . type AS type_56 , c8_ . background_color AS background_color_57 , c8_ . image1 AS image1_58 , c8_ . image2 AS image2_59 , c8_ . image_type AS image_type_60 , c8_ . images_position AS images_position_61 , c8_ . google_score AS google_score_62 , c8_ . google_nb_reviews AS google_nb_reviews_63 , c8_ . is_display_shape AS is_display_shape_64 , c8_ . sort AS sort_65 , c9_ . id AS id_66 , c9_ . title AS title_67 , c9_ . description AS description_68 , c9_ . text AS text_69 , c9_ . locale AS locale_70 , c10_ . id AS id_71 , c10_ . icon AS icon_72 , c10_ . image AS image_73 , c10_ . sort AS sort_74 , c11_ . id AS id_75 , c11_ . title AS title_76 , c11_ . description AS description_77 , c11_ . button AS button_78 , c11_ . url AS url_79 , c11_ . locale AS locale_80 , c12_ . id AS id_81 , c12_ . sort AS sort_82 , c13_ . id AS id_83 , c13_ . title AS title_84 , c13_ . description AS description_85 , c13_ . author AS author_86 , c13_ . locale AS locale_87 , c14_ . id AS id_88 , c14_ . sort AS sort_89 , c15_ . id AS id_90 , c15_ . link AS link_91 , c15_ . locale AS locale_92 , c0_ . id AS id_93 , c0_ . image AS image_94 , c0_ . sort AS sort_95 , c16_ . id AS id_96 , c16_ . alt AS alt_97 , c16_ . locale AS locale_98 , c0_ . content_id AS content_id_99 , e2_ . translatable_id AS translatable_id_100 , r3_ . establishment_id AS establishment_id_101 , r4_ . translatable_id AS translatable_id_102 , r5_ . room_id AS room_id_103 , r6_ . room_id AS room_id_104 , r7_ . translatable_id AS translatable_id_105 , c8_ . establishment_id AS establishment_id_106 , c8_ . room_id AS room_id_107 , c8_ . occasion_id AS occasion_id_108 , c9_ . translatable_id AS translatable_id_109 , c10_ . content_id AS content_id_110 , c11_ . translatable_id AS translatable_id_111 , c12_ . content_id AS content_id_112 , c13_ . translatable_id AS translatable_id_113 , c14_ . content_id AS content_id_114 , c15_ . translatable_id AS translatable_id_115 , c16_ . translatable_id AS translatable_id_116 FROM establishment e1_ LEFT JOIN establishment_translation e2_ ON e1_ . id = e2_ . translatable_id AND (e2_ . locale = ? ) LEFT JOIN room r3_ ON e1_ . id = r3_ . establishment_id LEFT JOIN room_translation r4_ ON r3_ . id = r4_ . translatable_id AND (r4_ . locale = ? ) LEFT JOIN room_image r5_ ON r3_ . id = r5_ . room_id LEFT JOIN room_option r6_ ON r3_ . id = r6_ . room_id LEFT JOIN room_option_translation r7_ ON r6_ . id = r7_ . translatable_id AND (r7_ . locale = ? ) LEFT JOIN activity_room a18_ ON r3_ . id = a18_ . room_id LEFT JOIN activity a17_ ON a17_ . id = a18_ . activity_id LEFT JOIN content c8_ ON e1_ . id = c8_ . establishment_id LEFT JOIN content_translation c9_ ON c8_ . id = c9_ . translatable_id AND (c9_ . locale = ? ) LEFT JOIN content_item c10_ ON c8_ . id = c10_ . content_id LEFT JOIN content_item_translation c11_ ON c10_ . id = c11_ . translatable_id AND (c11_ . locale = ? ) LEFT JOIN content_dropdown c12_ ON c8_ . id = c12_ . content_id LEFT JOIN content_dropdown_translation c13_ ON c12_ . id = c13_ . translatable_id AND (c13_ . locale = ? ) LEFT JOIN content_button c14_ ON c8_ . id = c14_ . content_id LEFT JOIN content_button_translation c15_ ON c14_ . id = c15_ . translatable_id AND (c15_ . locale = ? ) LEFT JOIN content_image c0_ ON c8_ . id = c0_ . content_id LEFT JOIN content_image_translation c16_ ON c0_ . id = c16_ . translatable_id AND (c16_ . locale = ? ) WHERE e1_ . is_active = ? AND e2_ . slug = ? ORDER BY r3_ . sort ASC , c0_ . sort ASC , r5_ . sort ASC , r6_ . sort ASC , c8_ . sort ASC , c10_ . sort ASC , c12_ . sort ASC , c14_ . sort ASC
Parameters :
[
"fr "
"fr "
"fr "
"fr "
"fr "
"fr "
"fr "
"fr "
1
"boa-karaoke-bruxelles-centre "
]
SELECT
c0_ . id AS id_0 ,
c0_ . image AS image_1 ,
c0_ . sort AS sort_2 ,
e1_ . id AS id_3 ,
e1_ . post_code AS post_code_4 ,
e1_ . facebook_link AS facebook_link_5 ,
e1_ . instagram_link AS instagram_link_6 ,
e1_ . pinterest_link AS pinterest_link_7 ,
e1_ . linkedin_link AS linkedin_link_8 ,
e1_ . tiktok_link AS tiktok_link_9 ,
e1_ . youtube_link AS youtube_link_10 ,
e1_ . vimeo_link AS vimeo_link_11 ,
e1_ . email_link AS email_link_12 ,
e1_ . phone_link AS phone_link_13 ,
e1_ . email_order AS email_order_14 ,
e1_ . mollie_api_key AS mollie_api_key_15 ,
e1_ . image AS image_16 ,
e1_ . is_active AS is_active_17 ,
e1_ . sort AS sort_18 ,
e2_ . id AS id_19 ,
e2_ . title AS title_20 ,
e2_ . slug AS slug_21 ,
e2_ . short_title AS short_title_22 ,
e2_ . sub_title AS sub_title_23 ,
e2_ . address AS address_24 ,
e2_ . city AS city_25 ,
e2_ . country AS country_26 ,
e2_ . schedule AS schedule_27 ,
e2_ . additional_information AS additional_information_28 ,
e2_ . seo_title AS seo_title_29 ,
e2_ . seo_description AS seo_description_30 ,
e2_ . seo_image AS seo_image_31 ,
e2_ . locale AS locale_32 ,
r3_ . id AS id_33 ,
r3_ . minimum_number_of_people AS minimum_number_of_people_34 ,
r3_ . maximum_number_of_people AS maximum_number_of_people_35 ,
r3_ . percentage_of_deposit AS percentage_of_deposit_36 ,
r3_ . minimum_price_with_tax AS minimum_price_with_tax_37 ,
r3_ . sort AS sort_38 ,
r3_ . background_color_checkout AS background_color_checkout_39 ,
r4_ . id AS id_40 ,
r4_ . title AS title_41 ,
r4_ . slug AS slug_42 ,
r4_ . seo_title AS seo_title_43 ,
r4_ . seo_description AS seo_description_44 ,
r4_ . seo_image AS seo_image_45 ,
r4_ . locale AS locale_46 ,
r5_ . id AS id_47 ,
r5_ . image AS image_48 ,
r5_ . sort AS sort_49 ,
r6_ . id AS id_50 ,
r6_ . sort AS sort_51 ,
r7_ . id AS id_52 ,
r7_ . title AS title_53 ,
r7_ . locale AS locale_54 ,
c8_ . id AS id_55 ,
c8_ . type AS type_56 ,
c8_ . background_color AS background_color_57 ,
c8_ . image1 AS image1_58 ,
c8_ . image2 AS image2_59 ,
c8_ . image_type AS image_type_60 ,
c8_ . images_position AS images_position_61 ,
c8_ . google_score AS google_score_62 ,
c8_ . google_nb_reviews AS google_nb_reviews_63 ,
c8_ . is_display_shape AS is_display_shape_64 ,
c8_ . sort AS sort_65 ,
c9_ . id AS id_66 ,
c9_ . title AS title_67 ,
c9_ . description AS description_68 ,
c9_ . text AS text_69 ,
c9_ . locale AS locale_70 ,
c10_ . id AS id_71 ,
c10_ . icon AS icon_72 ,
c10_ . image AS image_73 ,
c10_ . sort AS sort_74 ,
c11_ . id AS id_75 ,
c11_ . title AS title_76 ,
c11_ . description AS description_77 ,
c11_ . button AS button_78 ,
c11_ . url AS url_79 ,
c11_ . locale AS locale_80 ,
c12_ . id AS id_81 ,
c12_ . sort AS sort_82 ,
c13_ . id AS id_83 ,
c13_ . title AS title_84 ,
c13_ . description AS description_85 ,
c13_ . author AS author_86 ,
c13_ . locale AS locale_87 ,
c14_ . id AS id_88 ,
c14_ . sort AS sort_89 ,
c15_ . id AS id_90 ,
c15_ . link AS link_91 ,
c15_ . locale AS locale_92 ,
c0_ . id AS id_93 ,
c0_ . image AS image_94 ,
c0_ . sort AS sort_95 ,
c16_ . id AS id_96 ,
c16_ . alt AS alt_97 ,
c16_ . locale AS locale_98 ,
c0_ . content_id AS content_id_99 ,
e2_ . translatable_id AS translatable_id_100 ,
r3_ . establishment_id AS establishment_id_101 ,
r4_ . translatable_id AS translatable_id_102 ,
r5_ . room_id AS room_id_103 ,
r6_ . room_id AS room_id_104 ,
r7_ . translatable_id AS translatable_id_105 ,
c8_ . establishment_id AS establishment_id_106 ,
c8_ . room_id AS room_id_107 ,
c8_ . occasion_id AS occasion_id_108 ,
c9_ . translatable_id AS translatable_id_109 ,
c10_ . content_id AS content_id_110 ,
c11_ . translatable_id AS translatable_id_111 ,
c12_ . content_id AS content_id_112 ,
c13_ . translatable_id AS translatable_id_113 ,
c14_ . content_id AS content_id_114 ,
c15_ . translatable_id AS translatable_id_115 ,
c16_ . translatable_id AS translatable_id_116
FROM
establishment e1_
LEFT JOIN establishment_translation e2_ ON e1_ . id = e2_ . translatable_id
AND (e2_ . locale = ? )
LEFT JOIN room r3_ ON e1_ . id = r3_ . establishment_id
LEFT JOIN room_translation r4_ ON r3_ . id = r4_ . translatable_id
AND (r4_ . locale = ? )
LEFT JOIN room_image r5_ ON r3_ . id = r5_ . room_id
LEFT JOIN room_option r6_ ON r3_ . id = r6_ . room_id
LEFT JOIN room_option_translation r7_ ON r6_ . id = r7_ . translatable_id
AND (r7_ . locale = ? )
LEFT JOIN activity_room a18_ ON r3_ . id = a18_ . room_id
LEFT JOIN activity a17_ ON a17_ . id = a18_ . activity_id
LEFT JOIN content c8_ ON e1_ . id = c8_ . establishment_id
LEFT JOIN content_translation c9_ ON c8_ . id = c9_ . translatable_id
AND (c9_ . locale = ? )
LEFT JOIN content_item c10_ ON c8_ . id = c10_ . content_id
LEFT JOIN content_item_translation c11_ ON c10_ . id = c11_ . translatable_id
AND (c11_ . locale = ? )
LEFT JOIN content_dropdown c12_ ON c8_ . id = c12_ . content_id
LEFT JOIN content_dropdown_translation c13_ ON c12_ . id = c13_ . translatable_id
AND (c13_ . locale = ? )
LEFT JOIN content_button c14_ ON c8_ . id = c14_ . content_id
LEFT JOIN content_button_translation c15_ ON c14_ . id = c15_ . translatable_id
AND (c15_ . locale = ? )
LEFT JOIN content_image c0_ ON c8_ . id = c0_ . content_id
LEFT JOIN content_image_translation c16_ ON c0_ . id = c16_ . translatable_id
AND (c16_ . locale = ? )
WHERE
e1_ . is_active = ?
AND e2_ . slug = ?
ORDER BY
r3_ . sort ASC ,
c0_ . sort ASC ,
r5_ . sort ASC ,
r6_ . sort ASC ,
c8_ . sort ASC ,
c10_ . sort ASC ,
c12_ . sort ASC ,
c14_ . sort ASC
Copy
SELECT c0_ . id AS id_0 , c0_ . image AS image_1 , c0_ . sort AS sort_2 , e1_ . id AS id_3 , e1_ . post_code AS post_code_4 , e1_ . facebook_link AS facebook_link_5 , e1_ . instagram_link AS instagram_link_6 , e1_ . pinterest_link AS pinterest_link_7 , e1_ . linkedin_link AS linkedin_link_8 , e1_ . tiktok_link AS tiktok_link_9 , e1_ . youtube_link AS youtube_link_10 , e1_ . vimeo_link AS vimeo_link_11 , e1_ . email_link AS email_link_12 , e1_ . phone_link AS phone_link_13 , e1_ . email_order AS email_order_14 , e1_ . mollie_api_key AS mollie_api_key_15 , e1_ . image AS image_16 , e1_ . is_active AS is_active_17 , e1_ . sort AS sort_18 , e2_ . id AS id_19 , e2_ . title AS title_20 , e2_ . slug AS slug_21 , e2_ . short_title AS short_title_22 , e2_ . sub_title AS sub_title_23 , e2_ . address AS address_24 , e2_ . city AS city_25 , e2_ . country AS country_26 , e2_ . schedule AS schedule_27 , e2_ . additional_information AS additional_information_28 , e2_ . seo_title AS seo_title_29 , e2_ . seo_description AS seo_description_30 , e2_ . seo_image AS seo_image_31 , e2_ . locale AS locale_32 , r3_ . id AS id_33 , r3_ . minimum_number_of_people AS minimum_number_of_people_34 , r3_ . maximum_number_of_people AS maximum_number_of_people_35 , r3_ . percentage_of_deposit AS percentage_of_deposit_36 , r3_ . minimum_price_with_tax AS minimum_price_with_tax_37 , r3_ . sort AS sort_38 , r3_ . background_color_checkout AS background_color_checkout_39 , r4_ . id AS id_40 , r4_ . title AS title_41 , r4_ . slug AS slug_42 , r4_ . seo_title AS seo_title_43 , r4_ . seo_description AS seo_description_44 , r4_ . seo_image AS seo_image_45 , r4_ . locale AS locale_46 , r5_ . id AS id_47 , r5_ . image AS image_48 , r5_ . sort AS sort_49 , r6_ . id AS id_50 , r6_ . sort AS sort_51 , r7_ . id AS id_52 , r7_ . title AS title_53 , r7_ . locale AS locale_54 , c8_ . id AS id_55 , c8_ . type AS type_56 , c8_ . background_color AS background_color_57 , c8_ . image1 AS image1_58 , c8_ . image2 AS image2_59 , c8_ . image_type AS image_type_60 , c8_ . images_position AS images_position_61 , c8_ . google_score AS google_score_62 , c8_ . google_nb_reviews AS google_nb_reviews_63 , c8_ . is_display_shape AS is_display_shape_64 , c8_ . sort AS sort_65 , c9_ . id AS id_66 , c9_ . title AS title_67 , c9_ . description AS description_68 , c9_ . text AS text_69 , c9_ . locale AS locale_70 , c10_ . id AS id_71 , c10_ . icon AS icon_72 , c10_ . image AS image_73 , c10_ . sort AS sort_74 , c11_ . id AS id_75 , c11_ . title AS title_76 , c11_ . description AS description_77 , c11_ . button AS button_78 , c11_ . url AS url_79 , c11_ . locale AS locale_80 , c12_ . id AS id_81 , c12_ . sort AS sort_82 , c13_ . id AS id_83 , c13_ . title AS title_84 , c13_ . description AS description_85 , c13_ . author AS author_86 , c13_ . locale AS locale_87 , c14_ . id AS id_88 , c14_ . sort AS sort_89 , c15_ . id AS id_90 , c15_ . link AS link_91 , c15_ . locale AS locale_92 , c0_ . id AS id_93 , c0_ . image AS image_94 , c0_ . sort AS sort_95 , c16_ . id AS id_96 , c16_ . alt AS alt_97 , c16_ . locale AS locale_98 , c0_ . content_id AS content_id_99 , e2_ . translatable_id AS translatable_id_100 , r3_ . establishment_id AS establishment_id_101 , r4_ . translatable_id AS translatable_id_102 , r5_ . room_id AS room_id_103 , r6_ . room_id AS room_id_104 , r7_ . translatable_id AS translatable_id_105 , c8_ . establishment_id AS establishment_id_106 , c8_ . room_id AS room_id_107 , c8_ . occasion_id AS occasion_id_108 , c9_ . translatable_id AS translatable_id_109 , c10_ . content_id AS content_id_110 , c11_ . translatable_id AS translatable_id_111 , c12_ . content_id AS content_id_112 , c13_ . translatable_id AS translatable_id_113 , c14_ . content_id AS content_id_114 , c15_ . translatable_id AS translatable_id_115 , c16_ . translatable_id AS translatable_id_116 FROM establishment e1_ LEFT JOIN establishment_translation e2_ ON e1_ . id = e2_ . translatable_id AND (e2_ . locale = 'fr' ) LEFT JOIN room r3_ ON e1_ . id = r3_ . establishment_id LEFT JOIN room_translation r4_ ON r3_ . id = r4_ . translatable_id AND (r4_ . locale = 'fr' ) LEFT JOIN room_image r5_ ON r3_ . id = r5_ . room_id LEFT JOIN room_option r6_ ON r3_ . id = r6_ . room_id LEFT JOIN room_option_translation r7_ ON r6_ . id = r7_ . translatable_id AND (r7_ . locale = 'fr' ) LEFT JOIN activity_room a18_ ON r3_ . id = a18_ . room_id LEFT JOIN activity a17_ ON a17_ . id = a18_ . activity_id LEFT JOIN content c8_ ON e1_ . id = c8_ . establishment_id LEFT JOIN content_translation c9_ ON c8_ . id = c9_ . translatable_id AND (c9_ . locale = 'fr' ) LEFT JOIN content_item c10_ ON c8_ . id = c10_ . content_id LEFT JOIN content_item_translation c11_ ON c10_ . id = c11_ . translatable_id AND (c11_ . locale = 'fr' ) LEFT JOIN content_dropdown c12_ ON c8_ . id = c12_ . content_id LEFT JOIN content_dropdown_translation c13_ ON c12_ . id = c13_ . translatable_id AND (c13_ . locale = 'fr' ) LEFT JOIN content_button c14_ ON c8_ . id = c14_ . content_id LEFT JOIN content_button_translation c15_ ON c14_ . id = c15_ . translatable_id AND (c15_ . locale = 'fr' ) LEFT JOIN content_image c0_ ON c8_ . id = c0_ . content_id LEFT JOIN content_image_translation c16_ ON c0_ . id = c16_ . translatable_id AND (c16_ . locale = 'fr' ) WHERE e1_ . is_active = 1 AND e2_ . slug = 'boa-karaoke-bruxelles-centre' ORDER BY r3_ . sort ASC , c0_ . sort ASC , r5_ . sort ASC , r6_ . sort ASC , c8_ . sort ASC , c10_ . sort ASC , c12_ . sort ASC , c14_ . sort ASC ;
Copy