
Returns by reason
mediumSQL
Returns by reason
mediumPremium
About this question
A medium SQL question from Flipkart data analyst and business analyst interviews about turning return reasons into one column each. It tests pivoting rows into columns, conditional aggregation with CASE and missing categories.
The full question, its data and the solution are part of Premium, along with every other question in the library.
- The full question and its datasets
- The editor with instant grading
- A worked solution and common mistakes
Free questions on sql
Practice the same ground now, at no cost.