{
"query_block": {
"select_id": 1,
"filesort": {
"sort_key": "b.state",
"temporary_table": {
"table": {
"table_name": "a",
"access_type": "ref",
"possible_keys": ["cs", "country_code"],
"key": "cs",
"key_length": "8",
"used_key_parts": ["country_code"],
"ref": ["const"],
"rows": 8,
"filtered": 100,
"index_condition": "a.country_code = 'BW'",
"attached_condition": "a.`status` = 'A'"
},
"table": {
"table_name": "b",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "9",
"used_key_parts": ["state_id", "lang_code"],
"ref": ["ymonline_livedata.a.state_id", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(b.lang_code = 'en')"
}
}
}
}
}
code | state |
---|---|
CD | Central District |
CHD | Chobe District |
GD | Ghanzi District |
KGD | Kgalagadi District |
KAD | Kgatleng District |
KWD | Kweneng District |
NED | North East District |
NWD | North West District |
SED | South East District |
SD | Southern District |