SQL> select count(*) from
2 (select
3 to_date('2004-11-10','yyyy-mm-dd')-1+rownum date1
4 from
5 dba_objects
6 where
7 to_date('2004-11-10','yyyy-mm-dd')-1+rownum<=to_date('2004-11-24','yyyy
-mm-dd'))
8 where
9 to_char(date1,'d') not in (6,7); COUNT(*)
----------
11
2 (select
3 to_date('2004-11-10','yyyy-mm-dd')-1+rownum date1
4 from
5 dba_objects
6 where
7 to_date('2004-11-10','yyyy-mm-dd')-1+rownum<=to_date('2004-11-24','yyyy
-mm-dd'))
8 where
9 to_char(date1,'d') not in (6,7); COUNT(*)
----------
11
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货