# Get Column Names

### Overview

This procedure retrieves a table's header. It returns a list of column names, or labels.

### Input Concepts

| Concept | Type  | Description                                       | Default    | Required |
| ------- | ----- | ------------------------------------------------- | ---------- | -------- |
| `table` | table | The table whose column names are to be retrieved. | No default | Yes      |

### Output Concepts

| Concept        | Description               |
| -------------- | ------------------------- |
| `column names` | The list of column names. |

### Examples

#### 1. Example 1

For this example, `the table` refers to the following table, which can be generated using the `create a sample table` procedure:

| Name | Number             | Address          | City          |
| ---- | ------------------ | ---------------- | ------------- |
| john | + 1 (415) 691 9426 | 123 east street  | San Francisco |
| joe  | + 1 (415) 691 1234 | 321 west street  | San Jose      |
| jack | + 1 (415) 691 4595 | 213 north street | San Francisco |

{% tabs %}
{% tab title="Automation" %}

```
get the table's column names
```

{% endtab %}

{% tab title="Results" %}
Name Number Address City
{% endtab %}
{% endtabs %}
