ITeye博客

oracle查询正规表达示

huang552 · 2018-11-12 16:14 · oracle · 数据库 · Markdown

<!--StartFragment -->

select regexp_substr(content,'^【[^【】]+】|【[^【】]+】$',1,1) 签名,status,count(*) 
from table
where CREATE_TIME>=trunc(sysdate)
and status='0'
group by regexp_substr(content,'^【[^【】]+】|【[^【】]+】$',1,1),status
order by 3 desc

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。