> ## Documentation Index
> Fetch the complete documentation index at: https://docs.activeviam.com/llms.txt
> Use this file to discover all available pages before exploring further.

# COUNTRIES

The COUNTRIES table contains description data for countries.

| Column Name | Type | Not Null | Cube Field | Default Value[^1] | Description |
| - | - | - | - | - | - |
| AS\_OF\_DATE | DATE | Y | | | Timestamp (at close of business) for the data. |
| COUNTRY\_CODE | STRING | Y | | N/A | Unique three-letter country identifier code. |
| COUNTRY | STRING | Y | | N/A | The name of the country. |
| LATITUDE | DOUBLE | Y | | N/A | The latitude of the country in the decimal degrees format. |
| LONGITUDE | DOUBLE | Y | | N/A | The longitude of the country in the decimal degrees format. |
| REGION | STRING | Y | | N/A | The region in which the country is located. |
| SUB\_REGION | STRING | Y | | N/A | The sub-region in which the country is located. |

## Unique Key

| Columns |
| - |
| AS\_OF\_DATE |
| COUNTRY\_CODE |

## Incoming Joins

| Source Table | Source Columns | Target Columns |
| - | - | - |
| [COUNTERPARTIES](https://docs.activeviam.com/solutions/market-risk/6.0/database/counterparties.md) | AS\_OF\_DATE COUNTRY\_OF\_ADDRESS | AS\_OF\_DATE COUNTRY\_CODE |
| [COUNTERPARTIES](https://docs.activeviam.com/solutions/market-risk/6.0/database/counterparties.md) | AS\_OF\_DATE COUNTRY\_OF\_RISK | AS\_OF\_DATE COUNTRY\_CODE |

***

[^1]: If the default value is marked as empty, it means that the default value is 'null' for nullable fields, and that a value needs to be explicitly set for non-nullable fields.
