New
ML System Design & SQL tracks just landed
See what's new
×
Question Bank
Pricing
Blog
Forum
HOT
JobRadar
NEW
Referral
Description
Solution
Discussion
Submissions
Ask AI
Question Bank
Snowflake
SQL Question
AI Insights
Quick Summary
Calculate the proportion of marketing touches classified as 'webinar' during April 2022.
Use conditional aggregation to count specific event types relative to the total volume in the filtered period.
Address edge cases where the date filter yields no rows by ensuring the result returns NULL rather than a misleading zero.
What This Tests
Conditional aggregation patterns
Date filtering and time-bound queries
Ratio calculation and percentage scaling
Rounding numeric results to integers
Handling nulls from empty aggregate scopes
Common Patterns
Aggregation
Collapse
Hint
What Interviewers May Ask Next
Ask AI Assistant
Ask AI Assistant
Ask me anything about this coding question!
Qwen
Qwen3.6-Flash
0/2000
Run
Submit
Test Cases
SQL Schema
Pandas Schema
Input
-
Output
-
Expected
-