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.

Example

  1. :) SELECT * FROM system.one LIMIT 10;
  1. ┌─dummy─┐
  2. 0
  3. └───────┘
  4. 1 rows in set. Elapsed: 0.001 sec.

Original article