# sql小技巧

**URL:** <https://www.shiqidu.com/t/topic/328>\
**Category:** 开发调优\
**Tags:** MySQL\
**Created:** [2017 年12 月 1 日 10:29 UTC](https://www.shiqidu.com/t/topic/328 "2017-12-01T10:29:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

作者： ![dajiang](https://www.shiqidu.com/user_avatar/www.shiqidu.com/dajiang/32/468_2.png) [@dajiang](https://www.shiqidu.com/u/dajiang)\
发布日期： [2017 年12 月 1 日 10:29 UTC](https://www.shiqidu.com/t/topic/328/1 "2017-12-01T10:29:35Z")

</div>

### 开始你的创作吧。

SELECT \* FROM ystem\_config WHERE CONCAT(parent\_code,CODE,remark,VALUE ) LIKE ‘%ali%’  
查看当前表中是否含有ali关键词

---

<div class="post-metadata">

作者： ![Eureka](https://www.shiqidu.com/user_avatar/www.shiqidu.com/eureka/32/5_2.png) [@Eureka](https://www.shiqidu.com/u/Eureka)\
发布日期： [2017 年12 月 1 日 14:48 UTC](https://www.shiqidu.com/t/topic/328/2 "2017-12-01T14:48:55Z")

</div>

本站的搜索索引创建的时候也是`GROUP_CONCAT`这个函数。  
另外。。  
 ![65fa55214533aa3411b932615e88535b.png](https://discourse.shiqidu.com/uploads_nj/article/20171201/65fa55214533aa3411b932615e88535b.png)  
**开始你的创作吧。** 这几个字是可以删除的。
