{
"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": 130,
"filtered": 100,
"attached_condition": "cscart_products_categories.product_id in (64625,64624,64616,64617,64615,64614,64622,64623,64626,64621,65851,65870,65875,65853,65864,65877,65874,65863,65869,65868,65862,65850,65880,65852)",
"using_index": true
},
"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", "cscart_migrate.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": ["cscart_migrate.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 |
|---|---|---|
| 64614 | 1612,1839,1865,1913,1943,1575M | 0 |
| 64615 | 1612,1839,1865,1913,1943,1575M | 0 |
| 64616 | 1612,1839,1865,1913,1943,1575M | 0 |
| 64617 | 1612,1839,1865,1913,1943,1575M | 0 |
| 64621 | 1612,1839,1865,1913,1943,1575M | 0 |
| 64622 | 1612,1839,1865,1913,1943,1575M | 0 |
| 64623 | 1612,1839,1865,1913,1943,1575M | 0 |
| 64624 | 1612,1839,1865,1913,1943,1575M | 0 |
| 64625 | 1612,1839,1865,1913,1943,1575M | 0 |
| 64626 | 1612,1839,1865,1913,1943,1575M | 0 |
| 65850 | 1575,1839,1865,1913,1943M | 0 |
| 65851 | 1575,1839,1865,1913,1943M | 0 |
| 65852 | 1575,1839,1865,1913,1943M | 0 |
| 65853 | 1575,1839,1865,1913,1943M | 0 |
| 65862 | 1575,1839,1865,1913,1943M | 0 |
| 65863 | 1575,1839,1865,1913,1943M | 0 |
| 65864 | 1575,1839,1865,1913,1943M | 0 |
| 65868 | 1575,1839,1865,1913,1943M | 0 |
| 65869 | 1575,1839,1865,1913,1943M | 0 |
| 65870 | 1575,1839,1865,1913,1943M | 0 |
| 65874 | 1575,1839,1865,1913,1943M | 0 |
| 65875 | 1575,1839,1865,1913,1943M | 0 |
| 65877 | 1575,1839,1865,1913,1943M | 0 |
| 65880 | 1575,1839,1865,1913,1943M | 0 |