"Back"

SQL Select

Executed SQL
SELECT `e`.*, 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` 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 (`e`.`entity_id` IN('154', '155', '156', '200')) AND (IF(at_is_active.value_id > 0, at_is_active.value, at_is_active_default.value) = '1')
entity_id entity_type_id attribute_set_id parent_id created_at updated_at path position level children_count is_active
154 3 3 2 2015-10-14 06:25:14 2016-09-26 17:29:01 1/2/154 13 2 8 1
155 3 3 154 2015-10-14 06:26:36 2016-09-26 17:29:32 1/2/154/155 1 3 5 1
156 3 3 155 2015-10-14 06:26:51 2016-09-26 17:30:59 1/2/154/155/156 2 4 1 1
200 3 3 156 2015-11-27 09:08:27 2016-09-26 17:31:49 1/2/154/155/156/200 1 5 0 1