oracle sql语句连续时间答:dual union allselect 6,3,'20130101' from dual union allselect 7,3,'20130102' from dual union allselect 8,3,'20130105' from dual)select sfzh,min(sj) as startDate,max(sj) as endDate,count(*) as "length" from ( select "ID",sfzh,sj ,to_date(sj,'yyyymmdd'...