[ NOT ] BETWEEN (Lakehouse v1)
如果给定的数值或字符串 <expr> 位于所定义的下限和上限之间,则返回 true。
Analyze 语法
Section titled “Analyze 语法”table.column.between(<lower_limit>, <upper_limit>Analyze 示例
Section titled “Analyze 示例”table.column.between(0, 5)SQL 语法
Section titled “SQL 语法”<expr> [ NOT ] BETWEEN <lower_limit> AND <upper_limit>SQL 示例
Section titled “SQL 示例”SELECT 'true' WHERE 5 BETWEEN 0 AND 5;
┌────────┐│ 'true' │├────────┤│ true │└────────┘
SELECT 'true' WHERE 'data' BETWEEN 'data' AND 'databendcloud';
┌────────┐│ 'true' │├────────┤│ true │└────────┘