当前位置: 代码迷 >> 综合 >> sql_cond - rel_exp for Statements
  详细解决方案

sql_cond - rel_exp for Statements

热度:83   发布时间:2024-02-11 08:40:13.0

Syntax

… { {operand1 {=|EQ|<>|NE|>|GT|<|LT|>=|GE|<=|LE}
{ operand2
| {[ALL|ANY|SOME] ( SELECT subquery_clauses [ UNION …] )} }}
| {operand [NOT] BETWEEN operand1 AND operand2}
| {operand1 [NOT] LIKE operand2 [ESCAPE esc]}
| {operand [NOT] IN (operand1, operand2 …)}
| {operand [NOT] IN @seltab}
| {operand IS [NOT] NULL}
| {(cond_syntax)}
| { EXISTS ( SELECT subquery_clauses [UNION …] )}
| {operand [NOT] IN ( SELECT subquery_clauses [UNION …] )} } …

Effect

Relational expression in a condition of an Open SQL statement. Logical expressions sql_cond can be formed from the relational expressions shown here for the following conditions:
大意:在Open SQL条件中关系表达式。
Read accesses
WHERE clause of a query
HAVING clause of a query
ON condition of a join expression
Modifying accesses
WHERE condition of the statement UPDATE
WHERE condition of the statement DELETE

源文档

  相关解决方案