{
"query_block": {
"select_id": 1,
"nested_loop": [
{
"read_sorted_file": {
"filesort": {
"sort_key": "cscart_products_categories.product_id",
"table": {
"table_name": "cscart_products_categories",
"access_type": "ALL",
"possible_keys": ["PRIMARY", "pt"],
"rows": 267,
"filtered": 19.10112381,
"attached_condition": "cscart_products_categories.product_id in (278,280,282,247,248,241,244,245,246,240,6,66,166,214,219,221,223,192,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,215,217,218,220,222,224,225,226,227,228)"
}
}
}
},
{
"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": ["n764025_kutubminar123.cscart_products_categories.category_id"],
"rows": 1,
"filtered": 100,
"attached_condition": "cscart_categories.storefront_id in (0,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 |
|---|---|
| 6 | 191M |
| 66 | 189M |
| 166 | 198M,199 |
| 192 | 232M |
| 194 | 232M |
| 195 | 232M |
| 196 | 232M |
| 197 | 229M,231 |
| 198 | 229M |
| 199 | 229M |
| 200 | 230M |
| 201 | 230M |
| 202 | 230M |
| 203 | 230M |
| 204 | 232M |
| 205 | 171M |
| 206 | 171M |
| 207 | 171M |
| 208 | 171M |
| 209 | 172M |
| 210 | 172M |
| 211 | 172M |
| 212 | 172M |
| 213 | 201M |
| 214 | 168M |
| 215 | 201M |
| 217 | 168M |
| 218 | 168M |
| 219 | 169M |
| 220 | 169M |
| 221 | 169M |
| 222 | 169M |
| 223 | 165M |
| 224 | 165M |
| 225 | 165M |
| 226 | 201M |
| 227 | 170M |
| 228 | 170M |
| 240 | 165M |
| 241 | 165M |
| 244 | 168M |
| 245 | 235M |
| 246 | 199M |
| 247 | 165M |
| 248 | 248M,255 |
| 278 | 224M |
| 280 | 224M |
| 282 | 224M |