Claude SkillHub
Browse Skills
Help
Get started
Browse Skills Help

Something went wrong!

Hang in there while we get back on track

  1. Home
  2. Categories
  3. PM Career & Interviews
  4. Business Question to SQL Translator
  5. Examples
Back to Business Question to SQL Translator

Examples for Business Question to SQL Translator

Explore real-world examples showing how this skill works with different inputs and outputs.

Monthly Churn Rate by Subscription Tier

Calculates monthly churn rate segmented by subscription tier while excluding trial users who never activated. Demonstrates complex filtering logic, time series generation with generate_series, and proper churn rate formula (churned/active at month start).

View example

Running Revenue Totals with Year-over-Year Comparison

Calculates cumulative revenue and customer count by week with same-week-last-year comparison. Demonstrates window functions for running totals (SUM OVER with PARTITION BY year), week number alignment for YoY comparison, and percentage change calculations with division-by-zero handling.

View example

Signup to Purchase Conversion by Traffic Source

Calculates conversion rate from signup to first purchase, segmented by traffic source for last month. Demonstrates LEFT JOIN strategy to preserve non-converters in denominator, ROW_NUMBER for first purchase identification, and edge case handling for cancelled/refunded orders.

View example
Back to Business Question to SQL Translator skill

Footer

Claude SkillHub

Supercharge Claude with ready-to-use skills.

Product

  • Browse Skills
  • Upgrade
  • Request a Skill

Support

  • Help Center
  • Privacy Policy
  • Terms of Service

© 2025 Smartvox Labs, LLC. All rights reserved.

This website uses cookies to enhance your experience and help us improve our services. For more information, see our privacy policy .