AI Net Promoter Score Analyst
An AI Net Promoter Score Analyst leverages machine learning, natural language processing, and generative AI to transform how organ…
Skill Guide
The application of SQL to query, join, and analyze structured data within a Customer Experience (CX) data warehouse, specifically focusing on integrated Customer 360 tables that aggregate all customer touchpoints into a single entity.
Scenario
You are given access to a Customer 360 database containing tables: customer_profile (customer_id, signup_date, plan_type), transactions (transaction_id, customer_id, transaction_date, amount), and support_tickets (ticket_id, customer_id, creation_date, resolution_date). Your goal is to calculate the 90-day churn rate for customers who signed up in Q1.
Scenario
Using the same Customer 360 tables, you need to segment customers into High, Medium, and Low LTV tiers based on their total spend and support ticket frequency over the past 12 months to inform a loyalty program.
Scenario
You are tasked with creating a single, performant SQL view that calculates a composite 'Customer Health Score' (0-100) for a real-time dashboard. The score must incorporate: recent activity (days since last login), engagement depth (sessions/week), and support sentiment (average ticket escalation rate in last 30 days).
Use these data warehouse platforms and BI tools to store and query massive CX datasets. BigQuery excels at ad-hoc analysis of event streams; Redshift requires careful key design for join performance; Snowflake simplifies scaling compute for complex queries.
These are the core advanced SQL constructs. Use window functions for running totals and rankings within customer segments. Use CTEs to break down complex, multi-step logic into readable blocks. The QUALIFY clause (in BigQuery, Snowflake) is critical for filtering the result of a window function without a subquery.
Answer Strategy
Demonstrate proficiency in window functions for time-series analysis. Strategy: Use LAG() to get the previous event timestamp and type within a customer partition, filter for the specific event sequence, and calculate the time difference. Sample Answer: 'I would partition the data by customer_id and order by session_start_time. Using LAG(session_start_time) OVER(PARTITION BY customer_id ORDER BY session_start_time) to get the previous event, I can then filter for rows where the previous event_type was 'purchase' and the current is 'support_ticket', and calculate AVG(current_time - lag_time) for each customer.'
Answer Strategy
This tests business acumen and the ability to translate data into action. Structure your answer using the STAR (Situation, Task, Action, Result) method, focusing on the SQL logic and the business outcome. Sample Answer: 'Situation: The marketing team believed high-spend customers were our happiest. Task: I needed to validate this. Action: I wrote a query joining support ticket resolution times and NPS scores to customer spend segments. I used NTILE to create spend quartiles and calculated the average NPS per quartile. Result: The query revealed the top spend quartile had a 20% lower NPS due to unresolved technical issues. This led to a dedicated support tier for high-value accounts, reducing their churn by 15%.'
1 career found
Try a different search term.