`
huang552
  • 浏览: 99408 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

oracle查询正规表达示

 
阅读更多
<!--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

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics