Foundations Track · Medium · 25 min
14 Medium Google Invalid Search Results
-- invalid search results -- WITH search_details AS ( SELECT country, SUM(num_search) AS total_search, SUM(num_search * (invalid_result_pct/100)) AS invalid_...
Company labels are directional practice context, not official interview guidance.
Objective
Practice aggregation 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.
-- invalid search results -- WITH search_details AS ( SELECT country, SUM(num_search) AS total_search, SUM(num_search * (invalid_result_pct/100)) AS invalid_searches FROM search_category WHERE num_search IS NOT NULL AND invalid_result_pct IS NOT NULL GROUP BY country ) SELECT country, total_search, ROUND(invalid_searches/total_search * 100.0,2) invalid_result_pct FROM search_details;
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.