SELECT `e`.*, IF(at_visibility.value_id > 0, at_visibility.value, at_visibility_default.value) AS `visibility`, IF(at_status.value_id > 0, at_status.value, at_status_default.value) AS `status`, `cat_index`.`position` AS `cat_index_position` FROM `catalog_product_entity` AS `e` INNER JOIN `catalog_product_entity_int` AS `at_visibility_default` ON (`at_visibility_default`.`entity_id` = `e`.`entity_id`) AND (`at_visibility_default`.`attribute_id` = '102') AND `at_visibility_default`.`store_id` = 0 LEFT JOIN `catalog_product_entity_int` AS `at_visibility` ON (`at_visibility`.`entity_id` = `e`.`entity_id`) AND (`at_visibility`.`attribute_id` = '102') AND (`at_visibility`.`store_id` = 1) INNER JOIN `catalog_product_entity_int` AS `at_status_default` ON (`at_status_default`.`entity_id` = `e`.`entity_id`) AND (`at_status_default`.`attribute_id` = '96') AND `at_status_default`.`store_id` = 0 LEFT JOIN `catalog_product_entity_int` AS `at_status` ON (`at_status`.`entity_id` = `e`.`entity_id`) AND (`at_status`.`attribute_id` = '96') AND (`at_status`.`store_id` = 1) INNER JOIN `catalog_category_product_index` AS `cat_index` ON cat_index.product_id=e.entity_id AND cat_index.store_id='1' AND cat_index.category_id = '500' AND cat_index.is_parent=1 WHERE (IF(at_visibility.value_id > 0, at_visibility.value, at_visibility_default.value) = '4') AND (IF(at_status.value_id > 0, at_status.value, at_status_default.value) = '1') AND (type_id = 'grouped' OR (type_id = 'simple' AND `e`.entity_id NOT IN (SELECT child_id FROM catalog_product_relation WHERE 1))) ORDER BY `cat_index`.`position` ASC LIMIT 100Array ( [0] => Array ( [entity_id] => 114861 [entity_type_id] => 4 [attribute_set_id] => 11 [type_id] => grouped [sku] => Braid-Reinforced-Silicone-Hose [has_options] => 0 [required_options] => 0 [created_at] => 2018-01-10 20:54:51 [updated_at] => 2018-01-19 15:41:19 [visibility] => 4 [status] => 1 [cat_index_position] => 1 )[1] => Array ( [entity_id] => 114875 [entity_type_id] => 4 [attribute_set_id] => 11 [type_id] => grouped [sku] => 4-Ply-Wire-Reinforced-Mandrel-Wrapped-Silicone-Hose [has_options] => 0 [required_options] => 0 [created_at] => 2018-01-10 20:55:12 [updated_at] => 2018-01-10 20:55:12 [visibility] => 4 [status] => 1 [cat_index_position] => 2 )[2] => Array ( [entity_id] => 114892 [entity_type_id] => 4 [attribute_set_id] => 11 [type_id] => grouped [sku] => PTFE-Lined-Silicone-Covered-Hose [has_options] => 0 [required_options] => 0 [created_at] => 2018-01-10 20:55:37 [updated_at] => 2018-01-19 15:41:36 [visibility] => 4 [status] => 1 [cat_index_position] => 3 )[3] => Array ( [entity_id] => 114902 [entity_type_id] => 4 [attribute_set_id] => 11 [type_id] => grouped [sku] => FEP-Lined-Rubber-Covered-Hose [has_options] => 0 [required_options] => 0 [created_at] => 2018-01-10 20:55:51 [updated_at] => 2018-01-10 20:55:51 [visibility] => 4 [status] => 1 [cat_index_position] => 4 )[4] => Array ( [entity_id] => 114910 [entity_type_id] => 4 [attribute_set_id] => 11 [type_id] => grouped [sku] => EPDM-Lined-EPDM-Covered-Hose [has_options] => 0 [required_options] => 0 [created_at] => 2018-01-10 20:56:03 [updated_at] => 2018-01-10 20:56:03 [visibility] => 4 [status] => 1 [cat_index_position] => 5 )[5] => Array ( [entity_id] => 114922 [entity_type_id] => 4 [attribute_set_id] => 11 [type_id] => grouped [sku] => PTFE-Lined-Stainless-Covered-Hose [has_options] => 0 [required_options] => 0 [created_at] => 2018-01-10 20:56:22 [updated_at] => 2018-01-10 20:56:22 [visibility] => 4 [status] => 1 [cat_index_position] => 6 )[6] => Array ( [entity_id] => 114928 [entity_type_id] => 4 [attribute_set_id] => 11 [type_id] => grouped [sku] => Braid-Reinforced-PVC-Tube [has_options] => 0 [required_options] => 0 [created_at] => 2018-01-10 20:56:31 [updated_at] => 2018-01-10 20:56:31 [visibility] => 4 [status] => 1 [cat_index_position] => 7 )[7] => Array ( [entity_id] => 114936 [entity_type_id] => 4 [attribute_set_id] => 11 [type_id] => grouped [sku] => Wire-Reinforced-PVC-Tube [has_options] => 0 [required_options] => 0 [created_at] => 2018-01-10 20:56:41 [updated_at] => 2018-01-10 20:56:41 [visibility] => 4 [status] => 1 [cat_index_position] => 8 ))

Process Hose (8)