160.57 ms (52.53%)
|
264 |
SELECT t0.id AS id_1, t0.path AS path_2, t0.level AS level_3, t0.number AS number_4, t0.name AS name_5, t0.description AS description_6, t0.display_as_catalogue AS display_as_catalogue_7, t0.display_as_list AS display_as_list_8, t0.display_as_table AS display_as_table_9, t0.article_count AS article_count_10, t0.recursive_article_count AS recursive_article_count_11, t0.children_have_articles AS children_have_articles_12, t0.shopping_cart_popup AS shopping_cart_popup_13, t0.message_shopping_cart_popup AS message_shopping_cart_popup_14, t0.erp_id AS erp_id_15, t0.parent_id AS parent_id_16 FROM oc_web_groups t0 WHERE t0.parent_id = ? ORDER BY t0.number ASC
SELECT t0.id AS id_1, t0.path AS path_2, t0.level AS level_3, t0.number AS number_4, t0.name AS name_5, t0.description AS description_6, t0.display_as_catalogue AS display_as_catalogue_7, t0.display_as_list AS display_as_list_8, t0.display_as_table AS display_as_table_9, t0.article_count AS article_count_10, t0.recursive_article_count AS recursive_article_count_11, t0.children_have_articles AS children_have_articles_12, t0.shopping_cart_popup AS shopping_cart_popup_13, t0.message_shopping_cart_popup AS message_shopping_cart_popup_14, t0.erp_id AS erp_id_15, t0.parent_id AS parent_id_16 FROM oc_web_groups t0 WHERE t0.parent_id = 333 ORDER BY t0.number ASC;
|
1.24 ms (0.41%)
|
1 |
SELECT o0_.id AS id_0, o0_.path AS path_1, o0_.level AS level_2, o0_.number AS number_3, o0_.name AS name_4, o0_.description AS description_5, o0_.display_as_catalogue AS display_as_catalogue_6, o0_.display_as_list AS display_as_list_7, o0_.display_as_table AS display_as_table_8, o0_.article_count AS article_count_9, o0_.recursive_article_count AS recursive_article_count_10, o0_.children_have_articles AS children_have_articles_11, o0_.shopping_cart_popup AS shopping_cart_popup_12, o0_.message_shopping_cart_popup AS message_shopping_cart_popup_13, o0_.erp_id AS erp_id_14, o1_.id AS id_15, o1_.type AS type_16, o1_.value AS value_17, o2_.id AS id_18, o2_.file AS file_19, o2_.hash AS hash_20, o2_.size AS size_21, o2_.width AS width_22, o2_.height AS height_23, o2_.type AS type_24, o2_.mime_type AS mime_type_25, o2_.erp_id AS erp_id_26, o0_.parent_id AS parent_id_27, o1_.web_group_id AS web_group_id_28, o1_.language_id AS language_id_29 FROM oc_web_groups o0_ LEFT JOIN oc_web_group_translations o1_ ON o0_.id = o1_.web_group_id LEFT JOIN oc_web_group_media o3_ ON o0_.id = o3_.web_group_id LEFT JOIN oc_media o2_ ON o2_.id = o3_.media_id WHERE o0_.parent_id IS NULL AND (o0_.article_count > 0 OR o0_.children_have_articles = 1) ORDER BY o0_.number ASC
SELECT o0_.id AS id_0, o0_.path AS path_1, o0_.level AS level_2, o0_.number AS number_3, o0_.name AS name_4, o0_.description AS description_5, o0_.display_as_catalogue AS display_as_catalogue_6, o0_.display_as_list AS display_as_list_7, o0_.display_as_table AS display_as_table_8, o0_.article_count AS article_count_9, o0_.recursive_article_count AS recursive_article_count_10, o0_.children_have_articles AS children_have_articles_11, o0_.shopping_cart_popup AS shopping_cart_popup_12, o0_.message_shopping_cart_popup AS message_shopping_cart_popup_13, o0_.erp_id AS erp_id_14, o1_.id AS id_15, o1_.type AS type_16, o1_.value AS value_17, o2_.id AS id_18, o2_.file AS file_19, o2_.hash AS hash_20, o2_.size AS size_21, o2_.width AS width_22, o2_.height AS height_23, o2_.type AS type_24, o2_.mime_type AS mime_type_25, o2_.erp_id AS erp_id_26, o0_.parent_id AS parent_id_27, o1_.web_group_id AS web_group_id_28, o1_.language_id AS language_id_29 FROM oc_web_groups o0_ LEFT JOIN oc_web_group_translations o1_ ON o0_.id = o1_.web_group_id LEFT JOIN oc_web_group_media o3_ ON o0_.id = o3_.web_group_id LEFT JOIN oc_media o2_ ON o2_.id = o3_.media_id WHERE o0_.parent_id IS NULL AND (o0_.article_count > 0 OR o0_.children_have_articles = 1) ORDER BY o0_.number ASC;
|