I have a table with many rows that stores changes of a table.
Example:
Column A - Column B - Date
1) 0 - 0 - Sept 1st 12 PM
2) 0 - 1 - Sept 2nd 1 PM
3) 0 - 2 - Sept 2nd 2 PM
4) 1 - 0 - Sept 2nd 5 PM
5) 1 - 1 - Sept 3rd 1 PM
6) 0 - 1 - Sept 3rd 2 PM
.
.
.
I would like to create a select query in which:
Column A has just changed and the value has become specifically "1", when sorted by Date.
I want the select query to return only row 4 from the rows visible above.
In my case, I would like to bring all rows that are similar to row 4 in this example. How do I do that?