首页 > 数据库技术 > 详细

oracle where后 and 和 or 的执行顺序

时间:2017-03-09 11:42:25      阅读:462      评论:0      收藏:0      [点我收藏+]

例子 

select X from table where 1=2 and 1=2 or 1=1;

return true;

select X from table where 1=2 and (1=2 or 1=1);

return false

 

 

原文:http://www.cnblogs.com/nick-huang/p/4027038.html 感谢分享

oracle where后 and 和 or 的执行顺序

原文:http://www.cnblogs.com/duyunchao-2261/p/6524419.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!