2020-06-18 08:24:31 +00:00
|
|
|
|
# system.one {#system-one}
|
|
|
|
|
|
|
|
|
|
This table contains a single row with a single `dummy` UInt8 column containing the value 0.
|
|
|
|
|
|
|
|
|
|
This table is used if a `SELECT` query doesn’t specify the `FROM` clause.
|
|
|
|
|
|
|
|
|
|
This is similar to the `DUAL` table found in other DBMSs.
|
2020-08-06 08:50:29 +00:00
|
|
|
|
|
2020-12-03 19:27:55 +00:00
|
|
|
|
**Example**
|
|
|
|
|
|
|
|
|
|
```sql
|
|
|
|
|
:) SELECT * FROM system.one LIMIT 10;
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
```text
|
|
|
|
|
┌─dummy─┐
|
|
|
|
|
│ 0 │
|
|
|
|
|
└───────┘
|
|
|
|
|
|
|
|
|
|
1 rows in set. Elapsed: 0.001 sec.
|
|
|
|
|
```
|
|
|
|
|
|
2020-08-06 08:50:29 +00:00
|
|
|
|
[Original article](https://clickhouse.tech/docs/en/operations/system_tables/one) <!--hide-->
|