Query time 0.00041
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "1.00"
},
"ordering_operation": {
"using_filesort": false,
"nested_loop": [
{
"table": {
"table_name": "a",
"access_type": "system",
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.00",
"eval_cost": "0.20",
"prefix_cost": "0.00",
"data_read_per_join": "104"
},
"used_columns": [
"currency_id",
"currency_code",
"after",
"symbol",
"coefficient",
"is_primary",
"position",
"decimals_separator",
"thousands_separator",
"decimals",
"status"
]
}
},
{
"table": {
"table_name": "b",
"access_type": "const",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"currency_code",
"lang_code"
],
"key_length": "38",
"ref": [
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.00",
"eval_cost": "0.20",
"prefix_cost": "0.00",
"data_read_per_join": "808"
},
"used_columns": [
"currency_code",
"description",
"lang_code"
]
}
}
]
}
}
}
Result
currency_id |
currency_code |
after |
symbol |
coefficient |
is_primary |
position |
decimals_separator |
thousands_separator |
decimals |
status |
description |
1 |
AED |
Y |
AED |
1.00000 |
Y |
10 |
. |
, |
2 |
A |
Emirati Dirham |