用反引号(``)标注表明或者字段名,防止跟 mysql关键字冲突

例如查询片段 

 and `order_status` in (19,20,21,29,30)

这里 order_status使用了反引号

posted @ 2018-01-25 16:05  xc_flying  阅读(689)  评论(0编辑  收藏  举报