I have a table that selects record every minute. I want to add a column that calculates how much time has passed between my current record and the first record. But I am not sure how to do that.
For example, if my first record has time 2:30, second has time 2:50 and third has time 3:00, then for my new column: time_passed, it will have values 0,20,30.
Thank you in advance!