# merge

`merge(db_name, 'tables_regexp')` – Creates a temporary Merge table. For more information, see the section "Table engines, Merge".

The table structure is taken from the first table encountered that matches the regular expression.


[Original article](https://clickhouse.yandex/docs/en/query_language/table_functions/merge/) <!--hide-->
