{
"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": 99,
"filtered": 100,
"attached_condition": "cscart_products_categories.product_id in (63430,60978,60980,60979,61620,61621,60976,60975,60981,63231,63234,63816,64149,63526,63525,64151)",
"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 |
|---|---|---|
| 60975 | 1531,1623,1808,1834,1902M | 0 |
| 60976 | 1531,1623,1808,1834,2002,1902M | 0 |
| 60978 | 1531,1618,1808,1834,2002,1902M | 0 |
| 60979 | 1531,1618,1808,1834,1902M | 0 |
| 60980 | 1531,1620,1808,1834,1902M | 0 |
| 60981 | 1531,1620,1808,1834,1902M | 0 |
| 61620 | 1531,1547,1756,1808,1827,1834,1883,2002,1902M | 0 |
| 61621 | 1531,1547,1756,1808,1827,1834,1883,2002,1902M | 0 |
| 63231 | 1531,1760,1808,1834,2002,1902M | 0 |
| 63234 | 1531,1760,1808,1834,2002,1902M | 0 |
| 63430 | 1531,1545,1613,1820,1832,1834,1899,2002,1902M | 0 |
| 63525 | 1531,1623,1808,1834,1902M | 0 |
| 63526 | 1531,1623,1808,1820,1834,1902M | 0 |
| 63816 | 1531,1808,1834,2002,1902M | 0 |
| 64149 | 1531,1761,1808,1834,2002,1902M | 0 |
| 64151 | 1531,1761,1808,1834,2002,1902M | 0 |