Foundations Track · Medium · 25 min
9811 Find The Minimal Adwords Earnings For Each Business Type
WITH ranked_earnings as ( SELECT business_type, adwords_earnings, RANK() OVER(PARTITION BY business_type ORDER BY adwords_earnings) as rn FROM google_adwords...
Company labels are directional practice context, not official interview guidance.
Objective
Practice filtering through a Google-tagged business scenario.
Approach
Use this track to lock in clean query structure, basic filtering logic, and confidence with grouped output.
Company context
Company labels are directional practice context, not official interview guidance.
WITH ranked_earnings as ( SELECT business_type, adwords_earnings, RANK() OVER(PARTITION BY business_type ORDER BY adwords_earnings) as rn FROM google_adwords_earnings ) SELECT business_type, adwords_earnings as minimal_earnings FROM ranked_earnings WHERE rn=1
This is a Pro question
Upgrade to Pro to unlock this prompt, the SQL workspace, and all 254 problems.
Upgrade to Pro — unlock all 254 problemsSQL workspace
Run queries against the protected question data, then submit once the result shape looks right.
Sign in to run SQL
Create a free account or sign in before running queries against protected question data.