当前位置:Gxlcms > 数据库问题 > oracle where后 and 和 or 的执行顺序

oracle where后 and 和 or 的执行顺序

时间:2021-07-01 10:21:17 帮助过:42人阅读

例子 

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 的执行顺序

标签:nbsp   执行   table   rac   logs   ret   .com   where   select   

人气教程排行