Documentation Index
Fetch the complete documentation index at: https://private-7c7dfe99-page-updates.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
anyIf
Description
TheIf combinator can be applied to the any
aggregate function to select the first encountered element from a given column
that matches the given condition.
Example usage
In this example, we’ll create a table that stores sales data with success flags, and we’ll useanyIf to select the first transaction_ids which are above and
below an amount of 200.
We first create a table and insert data into it:
Query
Response