{
"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": 68,
"filtered": 100,
"attached_condition": "cscart_products_categories.product_id in (64657,64857,60745,61430,64904,64794,65091,62240,64786,64790,65481,64849)",
"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 |
|---|---|---|
| 60745 | 1675,1916,1576M | |
| 61430 | 1676,1835,1907,1917,1573M | |
| 62240 | 1676,1796,1917,1573M | |
| 64657 | 1542,1701,1764,1889,2002M | |
| 64786 | 1521,1541,1622,1640,1700,1891,2002M | |
| 64790 | 1541,1616,1649,1700,1891,2002M | |
| 64794 | 1541,1647,1700,1891,2002M | |
| 64849 | 1660,1753,1794,1829,1894,1893M | |
| 64857 | 1543,1631,1704,1738,1793,1882,1890M | |
| 64904 | 1541,1547,1700,1757,1827,1883,2002,1891M | |
| 65091 | 1543,1704,1769,2002,1890M | |
| 65481 | 1531,1764,1832,1899,2002M |