{
"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": 184,
"filtered": 100,
"attached_condition": "cscart_products_categories.product_id in (61413,64353,61081,62246,60906,62023,64273,30013,60484,30012,64355,63513,62975,64854,63384,63510,63515,61417,64274,63776,61080,63099,64276,62022)",
"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 |
| 60484 | 1531,1707,1760,1832,1906,1899M | 0 |
| 60906 | 1531,1548,1623,1832,1899M | 0 |
| 61080 | 1531,1545,1637,1820,1832,2001,1899M | 0 |
| 61081 | 1531,1635,1707,1832,1906,2001,1899M | 0 |
| 61413 | 1531,1760,1832,2009,1899M | 0 |
| 61417 | 1531,1621,1820,1832,1833,1900,1899M | 0 |
| 62022 | 1531,1621,1625,1809,1832,1833,1900,1899M | 0 |
| 62023 | 1531,1548,1621,1625,1832,1833,1900,1899M | 0 |
| 62246 | 1531,1748,1809,1832,1833,1900,2003,1899M | 0 |
| 62975 | 1531,1613,1820,1832,2002,1899M | 0 |
| 63099 | 1531,1611,1638,1657,1809,1820,1832,1833,1900,1899M | 0 |
| 63384 | 1531,1767,1820,1832,2003,1899M | 0 |
| 63510 | 1531,1553,1748,1820,1832,1899M | 0 |
| 63513 | 1531,1613,1748,1820,1832,1899M | 0 |
| 63515 | 1531,1748,1809,1832,1833,1900,2003,1899M | 0 |
| 63776 | 1531,1771,1832,2003,1899M | 0 |
| 64273 | 1531,1552,1747,1795,1832,1833,1899,1900,2003,1901M | 0 |
| 64274 | 1531,1628,1795,1820,1832,1833,1899,1900,2003,1901M | 0 |
| 64276 | 1531,1630,1795,1832,1833,1899,1900,2003,1901M | 0 |
| 64353 | 1531,1611,1613,1748,1795,1820,1832,1901,1899M | 0 |
| 64355 | 1531,1748,1795,1809,1832,1833,1899,1901,1900M | 0 |
| 64854 | 1531,1754,1809,1820,1832,1833,1899,2003,1900M | 0 |