{
"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": 141,
"filtered": 100,
"attached_condition": "cscart_products_categories.product_id in (65300,65301,65770,65460,65302,65417,65463,65298,65461,65426,65299,65465,65418,65423,65455,65453,65466,65564,65459,65469,65468,65479,65456,65457)",
"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 |
|---|---|---|
| 65298 | 1623,1703,1708,1905,2001,1892M | 0 |
| 65299 | 1616,1703,1708,1905,2001,1892M | 0 |
| 65300 | 1630,1703,1708,1905,2001,1892M | 0 |
| 65301 | 1632,1703,1708,1905,2001,1892M | 0 |
| 65302 | 1626,1703,1708,1905,2001,1892M | 0 |
| 65417 | 1620,1703,1708,1905,2001,1892M | 0 |
| 65418 | 1618,1703,1708,1905,2001,1892M | 0 |
| 65423 | 1627,1703,1708,1905,2001,1892M | 0 |
| 65426 | 1703,1708,1892,1905,2001,1633M | 0 |
| 65453 | 1703,1708,1892,1905,2001,1634M | 0 |
| 65455 | 1635,1703,1708,1905,2001,1892M | 0 |
| 65456 | 1616,1703,2002,1892M | 0 |
| 65457 | 1703,1892,2002,1620M | 0 |
| 65459 | 1620,1624,1703,2002,1892M | 0 |
| 65460 | 1621,1703,1708,1905,2001,1892M | 0 |
| 65461 | 1621,1625,1703,1708,1905,2001,1892M | 0 |
| 65463 | 1622,1703,1708,1905,2001,1892M | 0 |
| 65465 | 1644,1703,1708,1892,1905,2001,1648M | 0 |
| 65466 | 1703,1892,2001,1647M | 0 |
| 65468 | 1616,1703,1708,1892,1905,2001,1649M | 0 |
| 65469 | 1622,1703,1892,2001,1640M | 0 |
| 65479 | 1616,1703,1708,1892,1905,2001,1649M | 0 |
| 65564 | 1703,1892M | 0 |
| 65770 | 1703,1832,1878,1892,1899,1979,2002M | 0 |