Data 360 Consultant Segmentation And Insights Practice Question
A consultant is designing a Calculated Insight to evaluate customer purchase frequency. The business wants to classify customers as 'Frequent', 'Occasional', or 'Rare' based on total order count. Which ANSI SQL construct is best suited for implementing this conditional categorization in the Calculated Insight?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
A CASE expression with numeric evaluation ranges.
Conditional categorization in ANSI SQL is implemented using CASE expressions, allowing developers to assign labels based on numeric thresholds.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
A Python lambda function embedded in the SELECT clause.
Why it's wrong here
Python is not supported inside Calculated Insight queries.
- ✓
A CASE expression with numeric evaluation ranges.
Why this is correct
CASE expressions provide clean conditional logic in SQL queries to categorize metric outputs.
- ✗
A Data Graph transform rule.
Why it's wrong here
Data Graphs are used for API profile lookups, not SQL-based metric categorization.
- ✗
A SOQL IF-THEN block.
Why it's wrong here
SOQL is not used in Calculated Insights, and IF-THEN is not standard ANSI SQL syntax for conditional selection.
About these practice questions
Courseiva writes every Data 360 Consultant question from scratch — 519 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed August 2026 · checked against the official Salesforce exam blueprint
This Data 360 Consultant practice question is part of Courseiva's free Salesforce certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the Data 360 Consultant exam.