SQL学习笔记

摘要: add_months函数: add_months(time,months)函数可以得到某一时间之前或之后n个月的时间 如 select add_months(sysdate,-6) from dual; 该查询的结果是当前时间半年前的时间 select add_months(sysdate,6) f 阅读全文
posted @ 2016-08-02 15:08 Tortoy^_^ 阅读(315) 评论(0) 推荐(0)