SQL
Use SQL only when other conditions cannot express the rule.
| Condition | What It Does |
|---|---|
| SQL | Custom SQL query returning a customer_id column. Namespace every table with its dataset. |
SQL condition
| Field | Description |
|---|---|
| Name | Label for the query |
| Query | Must return a customer_id column; namespace every table with its dataset |
tip
Validate SQL with your Customer Success Manager before production use. Prefer standard conditions when they can express the same rule.
See Condition Categories for the full category map.