{
"query_block": {
"select_id": 1,
"table": {
"table_name": "cscart_products_categories",
"access_type": "range",
"possible_keys": ["PRIMARY", "pt"],
"key": "pt",
"key_length": "3",
"used_key_parts": ["product_id"],
"rows": 196,
"filtered": 100,
"index_condition": "cscart_products_categories.product_id in (4754,4745,4760,4747,4746,4748,4903,4759,5062,4756,4307,4757,4755,4758,5032,5031)"
},
"table": {
"table_name": "product_position_source",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY", "pt"],
"key": "PRIMARY",
"key_length": "6",
"used_key_parts": ["category_id", "product_id"],
"ref": ["const", "rfswire_cart.cscart_products_categories.product_id"],
"rows": 1,
"filtered": 100
},
"table": {
"table_name": "cscart_categories",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY", "c_status", "p_category_id"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["category_id"],
"ref": ["rfswire_cart.cscart_products_categories.category_id"],
"rows": 1,
"filtered": 100,
"attached_condition": "cscart_categories.company_id = 1 and (cscart_categories.usergroup_ids = '' or find_in_set(0,cscart_categories.usergroup_ids) or find_in_set(1,cscart_categories.usergroup_ids)) and cscart_categories.`status` in ('A','H')"
}
}
}
| product_id | category_ids | position |
|---|---|---|
| 4307 | 2687,2686M | 0 |
| 4745 | 2935,2936,2937,2686,2687,2938,2939,2684,2685,2940,2941,2942,2943,2944,2945,2946,2947,2948,2934M | 0 |
| 4746 | 2935,2936,2937,2686,2687,2938,2939,2684,2685,2940,2941,2942,2943,2944,2945,2946,2947,2948,2934M | 0 |
| 4747 | 2948,2947,2946,2945,2944,2943,2942,2941,2940,2939,2938,2937,2936,2935,2934,2687,2686,2685,2684M | 20 |
| 4748 | 2948,2684,2685,2686,2687,2935,2936,2937,2938,2940,2941,2942,2943,2944,2945,2946,2947,2934M | 0 |
| 4754 | 2939,2938,2937,2936,2935,2900,2899,2898,2897,2896,2895,2894,2841,2840,2839,2838,2837,2836,2835,2804,2803,2802,2801,2800,2799,2798,2797,2796,2795,2794,2793,2735,2734,2733,2732,2731,2687,2686M | 0 |
| 4755 | 2687,2938,2939,2686M | 0 |
| 4756 | 2687,2938,2939,2686M | 0 |
| 4757 | 2687,2938,2939,2686M | 0 |
| 4758 | 2687,2938,2939,2686M | 0 |
| 4759 | 2939,2938,2687,3155,3156,3157,3158,2686M | 0 |
| 4760 | 2948,2947,2946,2945,2944,2943,2942,2941,2940,2939,2938,2937,2936,2935,2934,2687,2686,2685,2684M | 20 |
| 4903 | 2937,2936,2935,2880,2879,2878,2877,2876,2875,2874,2873,2867,2866,2865,2863,2687,2938,2939,2686M | 0 |
| 5031 | 2687,2938,2939,3155,3156,2686M | 0 |
| 5032 | 2687,2938,2939,3155,3156,2686M | 0 |
| 5062 | 2687,2938,2939,3155,3156,3157,3158,2686M | 0 |