Day over day swing

SQL

Day over day swing

Swiggy SQL Interview Question
mediumPremium

About this question

A medium SQL question from Swiggy data analyst and business analyst interviews about a city falling hard from one day to the next. It tests window functions, LAG for day-over-day comparison and percentage change.

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