# Database Keys

## Primary and Foreign Keys&#x20;

Verb honors foreign keys from structured databases and between objects on unstructured data.&#x20;

The primary keys and foreign keys defined in your database will be kept and are required for functions such as Calculated Columns or Aggregated Measures.&#x20;

## Composite Keys&#x20;

Create multiple relationships between tables and both will be used when querying data. This relationship is Composed of multiple columns and is sometimes necessary based on developer decisions and your structure.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.verbdata.com/models/advanced-model-information/database-keys.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
