{
"query_block": {
"select_id": 1,
"cost": 0.02394681,
"nested_loop": [
{
"table": {
"table_name": "cscart_languages",
"access_type": "ALL",
"loops": 1,
"rows": 2,
"cost": 0.0111808,
"filtered": 100,
"attached_condition": "cscart_languages.`status` = 'A'"
}
},
{
"block-nl-join": {
"table": {
"table_name": "storefronts_languages",
"access_type": "index",
"key": "idx_storefront_id",
"key_length": "4",
"used_key_parts": ["storefront_id"],
"loops": 2,
"rows": 1,
"cost": 0.01276601,
"filtered": 100,
"using_index": true
},
"buffer_type": "flat",
"buffer_size": "2Kb",
"join_type": "BNL",
"attached_condition": "trigcond(storefronts_languages.storefront_id = 1 or storefronts_languages.storefront_id is null) and trigcond(storefronts_languages.language_id = cscart_languages.lang_id)"
}
}
]
}
}
| lang_id | lang_code | name | status | country_code |
|---|---|---|---|---|
| 1 | en | English | A | US |
| 2 | ru | Русский | A | RU |