結果 : sql query to find time difference between two consecutive rows