About the “Expiring SaaS Free Trials (7-Day Conversion Window)” SQL Problem
Business Scenario
Product-led growth (PLG) sales teams reach out to high-engagement trial accounts whose 14-day trials expire within the next 7 calendar days to offer discounted annual contracts.
Expected Output & Criteria
High-engagement SaaS trials approaching expiration.
Database Table Schema (PostgreSQL DDL)
PostgreSQL 16 WASMCREATE TABLE saas_trials (
account_id INT PRIMARY KEY,
org_name VARCHAR(100) NOT NULL,
days_until_expiration INT NOT NULL,
total_logins INT NOT NULL
);Target SQL Clauses & Operators
Want more Fundamentals practice?
Explore the full syllabus of 16 exercises and syntax guides.