# Stack Tables

<figure><img src="/files/BRNX2ZfNcurJphBXfdc9" alt=""><figcaption></figcaption></figure>

## Overview

A Union node allows you to combine rows from different tables into a single result set or “stack” tables one on another. Tabula Union works similarly to the SQL UNION operator but with more flexibility. It can combine tables with different column sets by matching columns based on their names and data types. The column order in the original tables does not matter. Learn more in out tutorial [Union Introduction](/tutorials/union-introduction.md)

<figure><img src="/files/Z0MrAsH9Nu92U7Ugrxlk" alt=""><figcaption></figcaption></figure>

## Settings

{% hint style="info" %}
You can add a Union node from the toolbar or select multiple tables on canvas (Shift + Left mouse button -> drag selection) and add it from the Action panel. In the second case, you can quickly union many tables in one step.
{% endhint %}

#### **Tables to stack**

Select the tables you want to stack. Columns will be mapped automatically based on their Names and Types, and column order is not considered. If a column exists in one table but not in another, the resulting table will include this column, but it will be empty for the table lacking it. You can add multiple tables with the **"+Add a table"** link.

#### Result columns

Uncheck the columns you do not want to see in the result table. Use colored marks to understand in which input tables columns exist.


---

# 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.tabula.io/data-flows/tools-nodes/table-operations/stack-tables.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.
