MySQL: Defining Frames (Unbounded Preceding and following)

 Consider the example given below:

mysql frames preceding and following

What is the range of rows that will be selected if you write the following frame clause? (Assume that the current row is Row 6)

ORDER BY X DESC ROWS
BETWEEN UNBOUNDED PRECEDING AND 2 FOLLOWING

Comments