結果 : sql query to get time difference in seconds