{
"query_block": {
"select_id": 1,
"nested_loop": [
{
"table": {
"table_name": "vi_promotions",
"access_type": "ALL",
"rows": 14,
"filtered": 100,
"attached_condition": "vi_promotions.`status` in ('A','H') and vi_promotions.zone = 'catalog'"
}
},
{
"block-nl-join": {
"table": {
"table_name": "storefronts_promotions",
"access_type": "index",
"key": "PRIMARY",
"key_length": "8",
"used_key_parts": ["storefront_id", "promotion_id"],
"rows": 11,
"filtered": 100,
"using_index": true
},
"buffer_type": "flat",
"buffer_size": "177",
"join_type": "BNL",
"attached_condition": "trigcond(storefronts_promotions.storefront_id = 1 or storefronts_promotions.storefront_id is null) and trigcond(storefronts_promotions.promotion_id = vi_promotions.promotion_id)"
}
}
]
}
}
| COUNT(*) |
|---|
| 4 |