{
"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": 75,
"filtered": 100,
"attached_condition": "cscart_products_categories.product_id in (64963,64898,64947,62012,64864,61458,64777,64782,64758,60739,64787,65548)",
"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 |
|---|---|---|
| 60739 | 1675,1916,1576M | |
| 61458 | 2010M | |
| 62012 | 1676,1917,1573M | |
| 64758 | 1541,1630,1700,2002,1891M | |
| 64777 | 1521,1541,1614,1646,1700,1891,2002M | |
| 64782 | 1521,1541,1644,1648,1700,1891,2002M | |
| 64787 | 1522,1542,1622,1640,1701,1889M | |
| 64864 | 1542,1701,1739,1743,1763,1884,1886,1889M | |
| 64898 | 1541,1547,1700,1759,1827,1883,2002,1891M | |
| 64947 | 1660,1739,1743,1748,1794,1829,1884,1886,1894,1893M | |
| 64963 | 1543,1704,1765,2002,1890M | |
| 65548 | 1542,1701,1743,1884,1886,1889M |