# sql小技巧

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

<div class="post-metadata">

**Author:** ![dajiang](https://www.shiqidu.com/user_avatar/www.shiqidu.com/dajiang/32/468_2.png) [@dajiang](https://www.shiqidu.com/u/dajiang)\
**Post date:** [December 1, 2017, 10:29am 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">

**Author:** ![Leon](https://www.shiqidu.com/user_avatar/www.shiqidu.com/leon/32/5_2.png) [@Leon](https://www.shiqidu.com/u/Leon)\
**Post date:** [December 1, 2017, 2:48pm 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)  
**开始你的创作吧。** 这几个字是可以删除的。
