Query time 0.01006
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "226.70"
},
"ordering_operation": {
"using_temporary_table": true,
"using_filesort": true,
"cost_info": {
"sort_cost": "94.00"
},
"nested_loop": [
{
"table": {
"table_name": "a",
"access_type": "ref",
"possible_keys": [
"status"
],
"key": "status",
"used_key_parts": [
"status"
],
"key_length": "3",
"ref": [
"const"
],
"rows_examined_per_scan": 94,
"rows_produced_per_join": 94,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "1.10",
"eval_cost": "18.80",
"prefix_cost": "19.90",
"data_read_per_join": "74K"
},
"used_columns": [
"code",
"status"
]
}
},
{
"table": {
"table_name": "b",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"code",
"lang_code"
],
"key_length": "12",
"ref": [
"webmarco.a.code",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 94,
"filtered": "100.00",
"cost_info": {
"read_cost": "94.00",
"eval_cost": "18.80",
"prefix_cost": "132.70",
"data_read_per_join": "36K"
},
"used_columns": [
"code",
"lang_code",
"country"
]
}
}
]
}
}
}
Result
code |
country |
AF |
Afghanistan |
AX |
Aland Islands |
AL |
Albania |
AD |
Andorra |
AR |
Argentina |
AM |
Armenia |
AU |
Australia |
AT |
Austria |
AZ |
Azerbaijan |
BB |
Barbados |
BY |
Belarus |
BE |
Belgium |
BZ |
Belize |
BO |
Bolivia |
BA |
Bosnia and Herzegovina |
BR |
Brazil |
BG |
Bulgaria |
CA |
Canada |
CL |
Chile |
CO |
Colombia |
CR |
Costa Rica |
HR |
Croatia |
CU |
Cuba |
CY |
Cyprus |
CZ |
Czech Republic |
DK |
Denmark |
DO |
Dominican Republic |
EC |
Ecuador |
EG |
Egypt |
SV |
El Salvador |
EE |
Estonia |
FI |
Finland |
FR |
France |
GE |
Georgia |
DE |
Germany |
GR |
Greece |
GD |
Grenada |
GT |
Guatemala |
GY |
Guyana |
HT |
Haiti |
HN |
Honduras |
HU |
Hungary |
IS |
Iceland |
IE |
Ireland |
IT |
Italia |
JM |
Jamaica |
KZ |
Kazakhstan |
AP |
Kosove |
KG |
Kyrgyzstan |
LV |
Latvia |
LI |
Liechtenstein |
LT |
Lithuania |
LU |
Luxembourg |
MT |
Malta |
MX |
Mexico |
MD |
Moldova, Republic of |
MC |
Monaco |
ME |
Montenegro |
NL |
Netherlands |
NI |
Nicaragua |
MK |
North Macedonia |
NO |
Norway |
PK |
Pakistan |
PA |
Panama |
PG |
Papua New Guinea |
PY |
Paraguay |
PE |
Peru |
PH |
Philippines |
PL |
Poland |
PT |
Portugal |
PR |
Puerto Rico |
RS |
Republic of Serbia |
RO |
Romania |
RU |
Russian Federation |
LC |
Saint Lucia |
SM |
San Marino |
SA |
Saudi Arabia |
SK |
Slovakia |
SI |
Slovenia |
ES |
Spain |
SR |
Suriname |
SE |
Sweden |
CH |
Switzerland |
TJ |
Tajikistan |
TR |
Turkey |
TM |
Turkmenistan |
UA |
Ukraine |
AE |
United Arab Emirates |
GB |
United Kingdom (Great Britain) |
US |
United States |
UY |
Uruguay |
UZ |
Uzbekistan |
VA |
Vatican City State |
VE |
Venezuela |