"Back"

SQL Select

Executed SQL
SELECT `e`.*, IF(at_custom_use_parent_settings.value_id > 0, at_custom_use_parent_settings.value, at_custom_use_parent_settings_default.value) AS `custom_use_parent_settings` FROM `catalog_category_entity` AS `e` LEFT JOIN `catalog_category_entity_int` AS `at_custom_use_parent_settings_default` ON (`at_custom_use_parent_settings_default`.`entity_id` = `e`.`entity_id`) AND (`at_custom_use_parent_settings_default`.`attribute_id` = '68') AND `at_custom_use_parent_settings_default`.`store_id` = 0 LEFT JOIN `catalog_category_entity_int` AS `at_custom_use_parent_settings` ON (`at_custom_use_parent_settings`.`entity_id` = `e`.`entity_id`) AND (`at_custom_use_parent_settings`.`attribute_id` = '68') AND (`at_custom_use_parent_settings`.`store_id` = 1) WHERE (`e`.`entity_type_id` = '3') AND (`e`.`entity_id` IN('37', '30', '29', '2', '1')) AND (((IF(at_custom_use_parent_settings.value_id > 0, at_custom_use_parent_settings.value, at_custom_use_parent_settings_default.value) = 0) OR (IF(at_custom_use_parent_settings.value_id > 0, at_custom_use_parent_settings.value, at_custom_use_parent_settings_default.value) IS NULL))) AND (`e`.`level` != 0) ORDER BY `e`.`level` DESC
entity_id entity_type_id attribute_set_id parent_id created_at updated_at path position level children_count custom_use_parent_settings
37 3 3 30 2015-06-17 10:20:20 2015-10-14 05:44:51 1/2/29/30/37 2 4 0 0
30 3 3 29 2015-06-17 10:17:44 2016-09-26 17:51:04 1/2/29/30 1 3 4 0
29 3 3 2 2015-06-17 10:16:42 2017-11-13 02:11:40 1/2/29 4 2 16 0
2 3 3 1 2015-05-26 01:27:49 2015-06-29 09:06:10 1/2 1 1 174