Longest price hold

SQL

Longest price hold

Myntra SQL Interview Question
hardPremium

About this question

A hard SQL question from Myntra data analyst and business analyst interviews about which price changes actually stuck. It tests window functions, LEAD for next-row lookahead and date difference calculations.

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