摘要: 建表 create table test(id int, plist varchar2(30)) ;create table p(pid int ,pname varchar2(10)); 插入测试数据 insert into test values(1,'28345|39262|56214');i 阅读全文
posted @ 2020-05-27 17:18 十月围城小童鞋 阅读(428) 评论(0) 推荐(0) 编辑
摘要: 1、基本语法 select * from table [start with condition1] connect by [prior] id=parentid 一般用来查找存在父子关系的数据,也就是树形结构的数据;其返还的数据也能够明确的区分出每一层的数据。 start with conditi 阅读全文
posted @ 2020-05-27 16:59 十月围城小童鞋 阅读(499) 评论(0) 推荐(0) 编辑
摘要: regexp_substr函数 [String]使用正则表达式从字符串中抽取子串。 1. 语法:regexp_substr( expression,regular-expression[, start-offset [ , occurrence-number [, escape-expression 阅读全文
posted @ 2020-05-27 15:04 十月围城小童鞋 阅读(1898) 评论(0) 推荐(0) 编辑