mysql用find_in_set代替like搜索提高性能

mysql用find_in_set代替like搜索提高性能
<pre>
SELECT * from mobantestinfo1 where find_in_set('33',info2);
</pre>

ps 常用于 tag搜索

猜你喜欢

转载自www.cnblogs.com/newmiracle/p/11856276.html
今日推荐