# Columns

### Overview

This procedure gets a column from a table, given the column's name. The data is returned as a single-column table. To get a list of values from a column instead, see the procedure [get-a-columns-values](https://docs.kognitos.com/legacy/legacy-experience/automation-areas/tables-v2/get-a-column/get-a-columns-values "mention").

### Input Concepts

| Concept       | Type   | Description                         | Default    | Required |
| ------------- | ------ | ----------------------------------- | ---------- | -------- |
| `column name` | string | The name of the column to retrieve. | No default | Yes      |

### Output Concepts

| Concept  | Description                          |
| -------- | ------------------------------------ |
| `column` | The specified column from the table. |

### Examples

In the examples below, `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 |

#### 1. Syntax 1

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

```
get the table's column where
  the column name is "Address"
```

{% endtab %}

{% tab title="Results" %}

| Address          |
| ---------------- |
| 123 east street  |
| 321 west street  |
| 213 north street |
| {% endtab %}     |
| {% endtabs %}    |

#### 2. Syntax 2

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

```
get the table's "Address" column
```

{% endtab %}

{% tab title="Results" %}

| Address          |
| ---------------- |
| 123 east street  |
| 321 west street  |
| 213 north street |
| {% endtab %}     |
| {% endtabs %}    |
