FIND_IN_SET 是否走索引
时间: 2023-09-09 16:06:19 浏览: 183
mysql中or是否走索引详解
FIND_IN_SET函数可以用于检查一个值是否在一个以英文逗号分隔的字符串列表中。根据引用的描述,FIND_IN_SET函数是返回被查找字符串在目标字符串中的位置索引。因此,当使用FIND_IN_SET函数进行查询时,索引是不会被使用的。所以FIND_IN_SET函数不会走索引。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [MySQL——FIND_IN_SET用法详解](https://blog.csdn.net/u013514928/article/details/89425146)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *3* [MySQL中find_in_set函数的使用](https://blog.csdn.net/y516369/article/details/127877223)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文