About the “Dormant SaaS Tenants with Missing Payment Methods” SQL Problem
Business Scenario
CloudScale's billing service fails when organizations upgrade beyond the free trial but have no saved payment method. The finance team needs an urgent audit list of all paying tenants whose `stripe_customer_id` is NULL.
Expected Output & Criteria
Paid tier accounts missing payment provider credentials, sorted by creation date.
Database Table Schema (PostgreSQL DDL)
PostgreSQL 16 WASMThis challenge executes directly against the following relational schema in your browser:
CREATE TABLE organizations (
org_id INT PRIMARY KEY,
org_name VARCHAR(100) NOT NULL,
billing_tier VARCHAR(30) NOT NULL,
stripe_customer_id VARCHAR(50),
created_at DATE NOT NULL
);Target SQL Clauses & Operators
Want more Fundamentals practice?
Explore the full syllabus of 12 exercises, syntax guides, and interview pitfalls.