Skip to content
Advertisement

Clickhouse: Mapping BETWEEN filtering from an array

I understand if I want to filter a column between two numbers I can use BETWEEN:

Is there a way of mapping the filtering to an array of values, for instance, if the array was [1, 10, ... , N]:

Advertisement

Answer

Try this query:

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement