ClickHouse/docs/en/operations/system-tables/one.md

24 lines
522 B
Markdown
Raw Normal View History

# system.one {#system-one}
This table contains a single row with a single `dummy` UInt8 column containing the value 0.
2021-05-27 19:44:11 +00:00
This table is used if a `SELECT` query does not specify the `FROM` clause.
This is similar to the `DUAL` table found in other DBMSs.
**Example**
```sql
:) SELECT * FROM system.one LIMIT 10;
```
```text
┌─dummy─┐
│ 0 │
└───────┘
1 rows in set. Elapsed: 0.001 sec.
```
2021-06-24 12:47:02 +00:00
[Original article](https://clickhouse.tech/docs/en/operations/system-tables/one) <!--hide-->