问题 In dynamic SQL, I'd like to add 1 second every 10 rows Following query didn't work, got "the interval is invalid" select rownum ,(round(rownum/10,0)+1) ,sysdate + interval '(round(rownum/10,0)+1)' SECOND from anytable_with_lots_of_rows where rownum < 100; Anyone ? thanks ! 回答1: Classic way is the division by the number of seconds in a day, e.g. with rn as ( select rownum-1 id from dual connect by level <= 100), rn2 as (select id, trunc(id/10) tr_id from rn) select id, tr_id, sysdate + tr_id /