Calculate a value using previous row value and current row value with condition in SQL – Mysql
I have a problem. I want to create a calculated column call ExpectedOutcome . The value of column ExpectedOutcome for 1st row where No.Session = 1 is calculated by Score + 60. From the second row, the value of ExpectedOutcome…