{
"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": 76,
"filtered": 100,
"attached_condition": "cscart_products_categories.product_id in (65626,65466,65803,65564,65459,65469,65468,65814,65815,65720,65732,65479)",
"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 |
|---|---|---|
| 65459 | 1620,1624,1703,2002,1892M | |
| 65466 | 1703,1892,2001,1647M | |
| 65468 | 1616,1703,1708,1892,1905,2001,1649M | |
| 65469 | 1622,1703,1892,2001,1640M | |
| 65479 | 1616,1703,1708,1892,1905,2001,1649M | |
| 65564 | 1703,1892M | |
| 65626 | 1537,1934,1905M | |
| 65720 | 1821,1832,1878,1979,2002,1899M | |
| 65732 | 1623,1704,1793,1878,1882,1979,1890M | |
| 65803 | 1701,1793,1878,1882,1889,1979,2002,1621M | |
| 65814 | 1621,1701,1793,1878,1882,1889,1979,2002,1625M | |
| 65815 | 1621,1625,1704,1793,1878,1882,1979,2001,1890M |