I am trying to write a query that allows me to find the first recent occurrence where a column value changed. I have provided some data to explain the scenario.
[code language="sql"]
[code language="sql"]