0
点赞
收藏
分享

微信扫一扫

ORACLE 全文搜索(精度高排前)

拾光的Shelly 2022-06-30 阅读 49

select *
from tab_name
order by decode(instr(id, 'ab'), 0, 9999, instr(id, 'ab')),
decode(instr(id, 'ab', 2), 0, 9999, instr(id, 'ab', 2)),
id

举报

相关推荐

0 条评论