Every stockout window

SQL

Every stockout window

Blinkit SQL Interview Question
hardPremium

About this question

A hard SQL question from Blinkit data analyst and business analyst interviews about turning scattered stockout days into continuous windows. It tests window functions, gaps and islands and date arithmetic.

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