Find Next row and Previous Row based on result in sql – Mysql
In this sample table fruits, I want to get previous row, current row and next row where high_low_adjstmnt < 0. Table id name low high high_low_adjstmnt volume 1 Apple 5 3 -2 1000 2 Orange 6 9 3 2000 3…