Snippets are fragments of SQL code that can be reused in your analysis across your charts.
Using Snippets in SQL
Let's assume you've created a snippet name "PaidUsers", like so:
is_paid = True
You can now easily use this snippet in your query in the following way:
SELECT id, count(customer_id) FROM customers WHERE [is_paid];
that gets transformed as:
SELECT id, count(customer_id) FROM customers WHERE is_paid = True;
No spam, ever! Unsubscribe any time. Learn more about the product.