How to: Query setup
Query setup interface:

![query editor image](https://github.com/Altinity/clickhouse-grafana/raw/master/.github/images/05_query_settings.png)

First row `FROM` contains two options: database and table. Table values depends on a selected database.
Next rows contains selectors for time filtering:

Column timestamp time
* DateTime ([DateTime](https://clickhouse.com/docs/en/sql-reference/data-types/datetime/))
* DateTime64 ([DateTime64](https://clickhouse.com/docs/en/sql-reference/data-types/datetime64/))
* TimeStamp ([UInt32](https://clickhouse.com/docs/en/sql-reference/data-types/int-uint/)).

Timestamp column
Date column

> `Timestmap column` are required for time-based macros and functions because all analytics based on these values.
> Plugin will try to detect Date, Date32 column automatically

Button `Go to Query` is just a toggler to Raw SQL Editor