2022-08-28 13:53:52 +00:00
|
|
|
---
|
2022-08-28 13:58:27 +00:00
|
|
|
slug: /en/operations/system-tables/one
|
2022-08-28 13:53:52 +00:00
|
|
|
---
|
2022-06-02 10:55:18 +00:00
|
|
|
# one
|
2020-06-18 08:24:31 +00:00
|
|
|
|
|
|
|
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.
|
2020-06-18 08:24:31 +00:00
|
|
|
|
|
|
|
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
|
2023-01-11 13:43:51 +00:00
|
|
|
SELECT * FROM system.one LIMIT 10;
|
2020-12-03 19:27:55 +00:00
|
|
|
```
|
|
|
|
|
2023-01-11 15:08:11 +00:00
|
|
|
```response
|
2020-12-03 19:27:55 +00:00
|
|
|
┌─dummy─┐
|
|
|
|
│ 0 │
|
|
|
|
└───────┘
|
|
|
|
|
2021-07-29 15:20:55 +00:00
|
|
|
1 rows in set. Elapsed: 0.001 sec.
|
2020-12-03 19:27:55 +00:00
|
|
|
```
|