tencent cloud

Cloud Object Storage

Operators

下载
聚焦模式
字号
最后更新时间: 2024-03-25 15:28:24
COS Select supports the following operators:
Operator Type
Operator
Logical operator
AND, NOT, OR
Comparison operator
<, >, <= ,>= , = , <>, !=, BETWEEN, IN, such as IN ('a', 'b', 'c')
Pattern matching operator
LIKE
Mathematical operator
+, -, *, %

Priority of Operators

The following table shows the priority of operators in descending order:
Operator/Element
Association
Use Case
-
Right
Unary subtraction
*, /, %
Left
Multiplication, division, and modulo
+, -
Left
Addition and subtraction
IN
-
Setting membership
BETWEEN
-
In the range of ()
LIKE
-
String pattern matching
<>
-
Less than and greater than
=
Right
Equivalence and assignment
NOT
Right
Logical NOT
AND
Left
Logical AND
OR
Left
Logical OR

帮助和支持

本页内容是否解决了您的问题?

填写满意度调查问卷,共创更好文档体验。

文档反馈