{
"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": 67,
"filtered": 100,
"attached_condition": "cscart_products_categories.product_id in (60602,64366,64369,64908,62447,62582,63852,62664,61531,60603,62839,61467)",
"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 |
|---|---|---|
| 60602 | 1542,1614,1701,1779,2002,1889M | |
| 60603 | 1522,1542,1620,1701,1779,1889,2002M | |
| 61467 | 2010M | |
| 61531 | 1542,1636,1701,1889,1982M | |
| 62447 | 1894M | |
| 62582 | 1543,1603,1644,1704,1708,1905,2001,1890M | |
| 62664 | 2010M | |
| 62839 | 1544,1660,1662,1794,1829,1894,2002,1893M | |
| 63852 | 1544,1660,1748,1794,1829,1894,1893M | |
| 64366 | 1543,1552,1603,1704,1746,2002,1890M | |
| 64369 | 1541,1552,1700,1745,2002,1891M | |
| 64908 | 1547,1607,1703,1757,1827,1883,1892,2002M |