文章詳情頁(yè)
Mysql: FIND_IN_SET 的反運(yùn)算
瀏覽:193日期:2022-06-14 16:37:20
問(wèn)題描述
問(wèn)題解答
回答1:SELECT reverse(substring_index( reverse(substring_index(’a,b,c,d’, ’,’, index)), ’,’, 1)) 這個(gè)即可滿足你的需求,更改index 得到對(duì)應(yīng)的 a,b,c,d值。 當(dāng)index為2的時(shí)候 得到b。
傳送門(mén) substring_index reverse
回答2:!FIND_IN_SET()
相關(guān)文章:
1. mac里的docker如何命令行開(kāi)啟呢?2. 關(guān)docker hub上有些鏡像的tag被標(biāo)記““This image has vulnerabilities””3. nignx - docker內(nèi)nginx 80端口被占用4. docker容器呢SSH為什么連不通呢?5. 為什么我ping不通我的docker容器呢???6. Docker for Mac 創(chuàng)建的dnsmasq容器連不上/不工作的問(wèn)題7. angular.js使用$resource服務(wù)把數(shù)據(jù)存入mongodb的問(wèn)題。8. docker-compose 為何找不到配置文件?9. javascript - 最近用echarts做統(tǒng)計(jì)圖時(shí)遇到兩個(gè)問(wèn)題??!10. docker gitlab 如何git clone?
排行榜

熱門(mén)標(biāo)簽
網(wǎng)公網(wǎng)安備