{
"query_block": {
"select_id": 1,
"nested_loop": [
{
"table": {
"table_name": "storefronts_currencies",
"access_type": "system",
"possible_keys": ["PRIMARY", "idx_storefront_id"],
"rows": 0,
"filtered": 0,
"const_row_not_found": true
}
},
{
"read_sorted_file": {
"filesort": {
"sort_key": "a.position",
"table": {
"table_name": "a",
"access_type": "ALL",
"rows": 3,
"filtered": 100,
"attached_condition": "a.`status` in ('A','H')"
}
}
}
},
{
"table": {
"table_name": "b",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "9",
"used_key_parts": ["currency_id", "lang_code"],
"ref": ["devvipiriscom.a.currency_id", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(b.lang_code = 'ru')"
}
}
]
}
}
| currency_id | currency_code | after | symbol | coefficient | is_primary | position | decimals_separator | thousands_separator | decimals | status | description |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | USD | N | $ | 1.00000 | N | 10 | . | , | 2 | A | Доллары США |
| 2 | EUR | N | € | 1.00000 | Y | 20 | . | , | 2 | A | Евро |
| 3 | GBP | N | £ | 1.88000 | N | 30 | . | , | 2 | A | Фунты стерлингов |