sql or 与and同时有时要注意
摘要:
如果是一天sql语句中有or和and同时在 正确:where xxx=xx and (xxx=xx or xxx=xx) 错误:where xxx=xx and xxx=xx or xxx=xx (这种情况有时候也可以查出东西来但是效率低,而且有可能出现死循环或卡的不要不要的) 阅读全文
posted @ 2016-10-19 20:21 牛奶糖13号 阅读(442) 评论(0) 推荐(0) 编辑
posted @ 2016-10-19 20:21 牛奶糖13号 阅读(442) 评论(0) 推荐(0) 编辑
posted @ 2016-10-19 20:09 牛奶糖13号 阅读(1996) 评论(0) 推荐(0) 编辑
posted @ 2016-10-19 19:47 牛奶糖13号 阅读(254) 评论(0) 推荐(0) 编辑