結果 : rows between preceding and current row sql