您的位置:首頁/技術文章
文章詳情頁

Mysql: FIND_IN_SET 的反運算

瀏覽:99日期:2022-06-14 16:37:20

問題描述

問題解答

回答1:

SELECT reverse(substring_index( reverse(substring_index(’a,b,c,d’, ’,’, index)), ’,’, 1)) 這個即可滿足你的需求,更改index 得到對應的 a,b,c,d值。 當index為2的時候 得到b。

傳送門 substring_index reverse

回答2:

!FIND_IN_SET()

相關文章:
国产综合久久一区二区三区