获取排序后的前12条数据:
select * from (select * from ene_electricity where num is not null order by year desc,month desc) where rownum <=12