Tax Software Revenue Split
Problem
**[Asked at Intuit]**
Intuit sells two products: TurboTax and QuickBooks. Each user files taxes once
per year using exactly one product.
Count the total number of filings for each product in a **single row**:
columns `turbotax_filings` and `quickbooks_filings`.
Tables
Example rows — the live problem includes the full dataset.
tax_filings
| filing_id | user_id | product | filing_year |
|---|
Expected output
Your answer should return 1 row with the columns turbotax_filings, quickbooks_filings.
Starter code (SQL)
SELECT *
FROM tax_filings;Solve this SQL question free
Write SQL and run it instantly in your browser — even on your phone. No signup needed to try.
Solution & explanation
Create a free account to unlock the optimal solution, a step-by-step explanation, and the hidden test cases that grade your answer.
Sign up free to unlock