YEARWEEK(date):获取日期的年和周SELECT YEARWEEK(SYSDATE()) SELECT YEARWEEK(‘2015-01-10') SELECT YEARWEEK(‘2015-01-10',1)-> 201602 -> 201501 -> 201502