[ NOT ] BETWEEN (Lakehouse v1)
Retorna true se o valor numérico ou de texto <expr> estiver dentro dos limites inferior e superior definidos.
Analyze Syntax
Seção intitulada “Analyze Syntax”table.column.between(<lower_limit>, <upper_limit>Analyze Examples
Seção intitulada “Analyze Examples”table.column.between(0, 5)SQL Syntax
Seção intitulada “SQL Syntax”<expr> [ NOT ] BETWEEN <lower_limit> AND <upper_limit>SQL Examples
Seção intitulada “SQL Examples”SELECT 'true' WHERE 5 BETWEEN 0 AND 5;
┌────────┐│ 'true' │├────────┤│ true │└────────┘
SELECT 'true' WHERE 'data' BETWEEN 'data' AND 'databendcloud';
┌────────┐│ 'true' │├────────┤│ true │└────────┘