Spend by channel

SQL

Spend by channel

Nykaa SQL Interview Question
mediumPremium

About this question

A medium SQL question from Nykaa data analyst and business analyst interviews about marketing spend split into a column per channel. It tests conditional aggregation with CASE, pivoting in SQL and summing by category.

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