About the “Subscription Churn Variance by Billing Frequency” SQL Problem
Business Scenario
Subscription financial analysts evaluate churn variance between annual upfront commitments and monthly flexible billing plans to calibrate contract discounting.
Expected Output & Criteria
Subscription counts and churn rates by monthly vs annual frequency.
Database Table Schema (PostgreSQL DDL)
PostgreSQL 16 WASMCREATE TABLE customer_subscriptions (
sub_id INT PRIMARY KEY,
billing_frequency VARCHAR(20) NOT NULL,
status VARCHAR(20) NOT NULL
);Target SQL Clauses & Operators
Want more Aggregations practice?
Explore the full syllabus of 16 exercises and syntax guides.