{
"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": 97,
"filtered": 100,
"attached_condition": "cscart_products_categories.product_id in (61329,60783,64693,61954,62976,62177,62660,62977,62169,30013,61345,30012)",
"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 |
|---|---|---|
| 30012 | 1531,1607,1609,1703,1707,1832,1892,1906,1899M | 0 |
| 30013 | 1531,1551,1607,1609,1703,1707,1820,1832,1892,1906,1899M | 0 |
| 60783 | 1551,1607,1609,1703,1760,1820,1892M | 0 |
| 61329 | 1547,1607,1703,1756,1770,1784,1892,2002M | 0 |
| 61345 | 1607,1609,1614,1642,1703,1708,1905,2001,1892M | 0 |
| 61954 | 1547,1607,1756,1892,2002,1703M | 0 |
| 62169 | 1607,1609,1616,1645,1703,1708,1905,2001,1892M | 0 |
| 62177 | 1607,1609,1619,1643,1703,1708,1905,2001,1892M | 0 |
| 62660 | 1607,1609,1644,1703,1708,1905,2001,1892M | 0 |
| 62976 | 1552,1611,1613,1703,2002,1892M | 0 |
| 62977 | 1547,1607,1703,1756,2002,1892M | 0 |
| 64693 | 1548,1607,1609,1614,1703,2001,1892M | 0 |