语法
参数
| 参数 | 描述 |
|---|---|
database | 数据库名。 |
table | 表名。 |
other_table_function(...) | 其他表函数。示例:SELECT * FROM loop(numbers(10)); 这里的 other_table_function(...) 是 numbers(10)。 |
ClickHouse 中的 loop 表函数用于无限循环返回查询结果。
| 参数 | 描述 |
|---|---|
database | 数据库名。 |
table | 表名。 |
other_table_function(...) | 其他表函数。示例:SELECT * FROM loop(numbers(10)); 这里的 other_table_function(...) 是 numbers(10)。 |