按關鍵詞匹配度排序

 

 

select* ,(length(message)-length('t2')) as rn from total where message like '%t2%' order by rn;
相關文章
相關標籤/搜索