"Back"

SQL Select

{{{Executed SQL}}{{Executed SQL}}{{Executed SQL}}{{Mage_Core}}}
SELECT `e`.*, `core_url_rewrite`.`request_path`, IF(at_is_active.value_id > 0, at_is_active.value, at_is_active_default.value) AS `is_active` FROM `catalog_category_entity` AS `e` LEFT JOIN `core_url_rewrite` ON (core_url_rewrite.category_id=e.entity_id) AND (core_url_rewrite.is_system=1 AND core_url_rewrite.store_id='1' AND core_url_rewrite.id_path LIKE 'category/%') INNER JOIN `catalog_category_entity_int` AS `at_is_active_default` ON (`at_is_active_default`.`entity_id` = `e`.`entity_id`) AND (`at_is_active_default`.`attribute_id` = '42') AND `at_is_active_default`.`store_id` = 0 LEFT JOIN `catalog_category_entity_int` AS `at_is_active` ON (`at_is_active`.`entity_id` = `e`.`entity_id`) AND (`at_is_active`.`attribute_id` = '42') AND (`at_is_active`.`store_id` = 1) WHERE (`e`.`entity_type_id` = '3') AND (IF(at_is_active.value_id > 0, at_is_active.value, at_is_active_default.value) = '1') AND (`e`.`entity_id` IN('138', '139')) ORDER BY `e`.`position` ASC
entity_id entity_type_id attribute_set_id parent_id created_at updated_at path position level children_count request_path is_active
138 3 3 136 2015-10-14 06:19:09 2016-09-26 17:35:06 1/2/135/136/138 1 4 0 accessories-gifts/accessories/jewelry.html 1
139 3 3 136 2015-10-14 06:19:17 2016-09-26 17:35:14 1/2/135/136/139 2 4 0 accessories-gifts/accessories/clutches.html 1