Rows between unbounded preceding and current row. Rank sql. rows unbounded preceding. rank window function. following preceding in oracle sql.