oracle 比较两个字符串相似度
select * from(
select 字段a,字段b,sys.utl_match.edit_distance_similarity(字段a,字段b) 相似度 form table
)
order by 相似度 desc
说明:
SYS.UTL_MATCH.EDIT_DISTANCE_SIMILARITY函数用于计算两个字符串之间的编辑距离相似度
select * from(
select 字段a,字段b,sys.utl_match.edit_distance_similarity(字段a,字段b) 相似度 form table
)
order by 相似度 desc
说明:
SYS.UTL_MATCH.EDIT_DISTANCE_SIMILARITY函数用于计算两个字符串之间的编辑距离相似度