日期:2014-05-17 浏览次数:20795 次
SQL> select * from test where b in (select min(b) from test group by extract(year from b)
------解决方案--------------------
extract(month from b)
------解决方案--------------------
a);
ID A B
---------- -- ---------
2 x 12-APR-13
3 x 25-MAR-13
4 y 21-APR-12