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

# Customer addresses

> Every address customers have saved today: customers and addresses by country, region, city, postcode and company.

Every address customers have saved today: customers and addresses by country, region, city, postcode and company.

## Example

```sql theme={null}
FROM customer_addresses
  SHOW address_customers, customer_address_count
  GROUP BY address_country
  ORDER BY address_customers DESC
```

## Metrics

| Metric | Type | Description |
| - | - | - |
| `address_customers` | Number | Customers with an address there, each counted once. |
| `customer_address_count` | Number | Saved addresses. |

## Dimensions

| Dimension | Description |
| - | - |
| `address_country` | The address's country. |
| `address_region` | The address's state or province. |
| `address_city` | The address's city. |
| `address_postcode` | The address's postcode. |
| `address_company` | The company on the address. |
| `is_default_address` | Whether it's the customer's default address: true or false. |

## Filters

| Filter | Type | Description |
| - | - | - |
| `address_region` | Text | The address's state or province. |
| `address_city` | Text | The address's city. |
| `address_postcode` | Text | The address's postcode. |
| `address_company` | Text | The company on the address. |
| `is_default_address` | Text | Whether it's the customer's default address: true or false. |
| `address_country` | Text | The address's country. |

## Linked records

Fields of the records this dataset reaches can be shown, grouped by and filtered on, written with a dot after the record (for example `customer.name`). Each record's page lists its fields.

| Write | Record | Reached through |
| - | - | - |
| `customer.<field>` | [Customer](https://docs.queryful.app/queryfulql/records/customer.md) | Customer |
| `customer.company.<field>` | [Company](https://docs.queryful.app/queryfulql/records/company.md) | Customer › Company |
| `shop.<field>` | [Store](https://docs.queryful.app/queryfulql/records/shop.md) | Store |

## Related datasets

* [Customers](https://docs.queryful.app/queryfulql/datasets/customers.md)
* [Companies](https://docs.queryful.app/queryfulql/datasets/companies.md)
* [Customer segments](https://docs.queryful.app/queryfulql/datasets/segments.md)
* [Customer journey visits](https://docs.queryful.app/queryfulql/datasets/journey_visits.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.