摘要:
1.时间的处理 获取年: to_char(hiredate,'MM'); 这里hiredate是date类型,格式1981/4/2 同理:to_char(hiredate,'yyyy') year,to_char(hiredate,'MM') month 2.表中存在树形结构 start with 阅读全文
posted @ 2017-07-10 20:04
爱在心口难开
阅读(311)
评论(0)
推荐(0)
摘要:
connect by 是结构化查询中用到的,其基本语法是:select … from tablename start with 条件1connect by 条件2where 条件3;例:select * from tablestart with org_id = ‘HBHqfWGWPy’connec 阅读全文
posted @ 2017-07-10 19:42
爱在心口难开
阅读(2148)
评论(0)
推荐(1)

浙公网安备 33010602011771号