博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Comparison Operators Modified by ANY, SOME, or ALL
阅读量:6842 次
发布时间:2019-06-26

本文共 1023 字,大约阅读时间需要 3 分钟。

Comparison operators that introduce a subquery can be modified by the keywords ALL or ANY. SOME is an ISO standard equivalent for ANY.

Subqueries introduced with a modified comparison operator return a list of zero or more values and can include a GROUP BY or HAVING clause. These subqueries can be restated with EXISTS.

ANY=SOME; Comparison operators that introduce a subquery can be modified by the keywords ALL or ANY. SOME is an ISO standard equivalent for ANY.

>ALL;means greater than every value. In other words, it means greater than the maximum value. For example, >ALL (1, 2, 3) means greater than 3.
>ANY;means greater than at least one value, that is, greater than the minimum. So >ANY (1, 2, 3) means greater than 1.

=ANY;It is equivalent to IN

=ALL, It can not display anything

<>ANY;however, differs from NOT IN: < >ANY means not = a, or not = b, or not = c. NOT IN means not = a, and not = b, and not = c.
<>ALL;means the same as NOT IN.

转载于:https://www.cnblogs.com/flysun0311/archive/2013/02/25/2931794.html

你可能感兴趣的文章
大专生自学Python到找到工作的心得
查看>>
Android Studio 如何使用jni
查看>>
各种环境的安装
查看>>
yum的使用
查看>>
【小超_Android】GitHub源码项目整理,希望对大家有帮助
查看>>
EntLib 3.1学习笔记(0) : 总览
查看>>
C++ 三大特性 继承(转载)
查看>>
网银在线支付接口和应用
查看>>
hdu1394 Minimum Inversion Number
查看>>
浮动产生的高度坍塌解决方法以及使用siblings()方法获取同级元素
查看>>
Web页面设计时提示"创建控件出错,未将对象引用设置到对象的实例”的错误解决办法...
查看>>
qt 获得cmd 命令运行的结果
查看>>
json与jsonp区别浅析(json才是目的,jsonp只是手段) (转)
查看>>
HDU 1328 IBM Minus One
查看>>
Django学习【第5篇】:Django之ORM数据库操作注意细节
查看>>
用亲身经历告诉你,在你的并发程序代码块中,最好最好不要有引用类型
查看>>
[android] 采用服务执行长期后台的操作
查看>>
【Selenium】3.介绍Selenium IDE
查看>>
2x2矩阵相乘模版
查看>>
怎样借助思维导图快速学习一门新技术
查看>>