CRM Analytics Apex QueryBuilder Examples
Build simple or complex SAQL queries using QueryBuilder.
QueryBuilder is the core of the CRM Analytics Apex feature set, so let’s take a closer look.
- Here’s a simple count query:
Output:
- Query selecting specific attributes and using aliases.
Output:
- Query using a filter condition.
Output:
- Query with a limit statement.
Output:
- Query with an order statement.
Output:
- Query with a union statement.
Output:
- Executing the query to get the result set via Query Builder.
- Example of grouping by a specific dataset attribute.
Output: