"Back"

SQL Select

{{{Executed SQL}}{{Executed SQL}}{{Executed SQL}}{{Mage_Core}}}
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('244', '247', '257')) 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
244 3 3 2 2018-08-16 02:56:29 2018-10-08 08:51:48 1/2/244 7 2 13 1
247 3 3 244 2018-08-16 06:45:25 2018-11-21 03:51:32 1/2/244/247 4 3 5 1
257 3 3 247 2018-08-16 06:51:17 2018-09-07 09:38:32 1/2/244/247/257 4 4 0 1