{
"query_block": {
"select_id": 1,
"nested_loop": [
{
"table": {
"table_name": "cscart_product_sales",
"access_type": "ALL",
"possible_keys": ["PRIMARY", "pa"],
"rows": 16,
"filtered": 100,
"attached_condition": "cscart_product_sales.product_id in (232,230,231,79,239,238,23,255,5,8,1,165,166,167,101,164)"
}
},
{
"table": {
"table_name": "cscart_products_categories",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY", "link_type", "pt"],
"key": "PRIMARY",
"key_length": "6",
"used_key_parts": ["category_id", "product_id"],
"ref": [
"cscart.cscart_product_sales.category_id",
"cscart.cscart_product_sales.product_id"
],
"rows": 1,
"filtered": 91.10320282,
"attached_condition": "cscart_products_categories.link_type = 'M'"
}
}
]
}
}
| product_id | sales_amount |
|---|---|
| 255 | 2 |