This can be useful shorthand for use in the where or return clauses.
在where或return子句中,这可能是非常有用的简写。
Note: This is equivalent to selecting a database column in the where clause of a SQL statement.
注意:这相当于在sql语句的where子句中选择一个数据库列。
Since the employee id is stored in the id column, this filter is easy to implement by adding a range comparison in the where clause of the SQL statement.
因为职员id存储在id列中,所以很容易通过在sql语句的where子句中添加范围比较来实现这个筛选器。
For comparison, Figure 3 illustrates the access plan where I forced the DB2 optimizer to ignore the index by adding the clause SELECTIVITY 1 to the predicate in the where clause.
为了便于比较,图3显示了通过将SELECTIVITY1子句添加到where子句的谓词中,强迫db2优化器忽略索引的访问计划。
Avoid using NOT in predicate in the WHERE clause.
在WHERE子句中避免使用“NOTIN”谓词。
Note that a parameter marker is used in the WHERE clause.
注意where子句中使用了参数标记。
Not specifying key values in the WHERE clause of an SQL statement.
在SQL语句的WHERE子句里没有指定键值
Avoid wrapping filtering columns within a function in the WHERE clause.
在WHERE子句的函数中避免封装过滤列。
The columns in the WHERE clause decide what index the database will select.
WHERE子句中的字段决定了数据库将选择的索引。
A simpler syntax is generated when ROWNUM is specified in the WHERE clause.
当在where子句中指定ROWNUM时,可生成更简单的语法。
These predicates can also be used in the WHERE clause of the SELECT statement.
这些谓词还可以用于select语句的where子句中。
The result of that subquery then becomes a value in the WHERE clause expression
它的结果会成为where语句表达式中的一个值。
This will enter a valid EJBQL query with one cmp-field used in the WHERE predicate.
这通过在 WHERE 语句中使用一个 cmp 字段来输入有效的EJBQL查询语句。
You can specify static queries to use variables in the WHERE clause, as shown in Listing 4.
可以让静态查询在where子句中使用变量,见清单4。
The query needed to create the index would change to include this new column in the WHERE clause.
创建索引所需的查询将发生变化以在where子句中包括这个新列。
Two types of queries can be used in the WHERE clause of an UPDATE statement: a scalar subquery and a table subquery.
两种查询可以用于update语句的where子句中:标量子查询和表子查询。
This tutorial describes subqueries stated as conditions in the WHERE clause, which are useful for simpler comparison queries.
本教程描述在 WHERE 子句中作为条件的子查询,这些子查询对于较简单的比较查询很有用。
In addition, our sample query qualifies the rows of interest by specifying relational and XML predicates in the WHERE clause.
此外,我们的样例查询通过在where子句中指定关系谓词和xml谓词,限定了所关注的行。
Therefore, you may often choose to implement indexes that include only the columns referred to in the WHERE and ORDER BY clauses.
因此,您常常可以选择实现只包括在WHERE和ORDERBY子句中引用到的列的索引。
It can be very slow to do queries across a virtual table, especially if you use one of the TimeSeries elements in the WHERE clause.
虚表上的查询可能非常慢,尤其是在where子句中使用某个TimeSeries元素时更是如此。
With a value of Changed, only the Key fields and the original values of the fields that were changed are passed in the WHERE clause.
如果选择的值是Changed,那么只有Key域和要修改的域的原来值会传递到 WHERE 子句中。
It can be used in the WHERE clause of an SQL statement to select only the rows that return non-trivial XML values for the XPath expression.
可以在sql语句的where子句中使用它只选择那些对于XPath表达式返回非空xml值的行。
The predicate in the WHERE clause constrains the relational column office, which the view maps to the path /dept/employee/office in the XML column.
WHERE 子句中的谓词限制关系列office,而视图把这一列映射到XML 文档中的路径 /dept/employee/office。
First, include in the index all the columns in the WHERE clause, so that index screening can be used to reject unqualified rows from the result set.
首先,在索引中包括WHERE子句中的所有列,这样,就可以使用索引形成的屏蔽来拒绝结果集中不合格的行。
The parameter used in the WHERE clause to identify the working record must match the DataKeyNames property, which is the key field for the displayed records.
用于标识工作记录的where子句中使用的参数必须与DataKeyNames属性匹配,后者是显示记录的关键字段。
The SQL code starts with declaring a new cursor and then performs the SELECT statement on the ADMINISTRATOR.EMPLOYEE table, using the JOBCODE parameter in the WHERE clause.
编写 SQL代码时,首先声明一个新游标,然后在 WHERE 子句中使用JOBCODE 参数,在ADMINISTRATOR.EMPLOYEE表中执行SELECT语句。
But a disadvantage in this case is that the compilation of SELECT (the creation of the access plan) occurs before the values for the predicates in the WHERE clause are bound.
但这种方法存在一个缺点,在绑定where子句中谓词的值之前,需要编译SELECT(创建访问计划)。
In this example, the first triple in the WHERE clause's graph pattern matches a node with a foaf: name property of "Jon Foobar," and binds it to the variable named contributor.
在这个示例中,where子句的图形模式中的第一个三元组与foaf:name属性为“JonFoobar”的节点匹配,并把它绑定到名为contributor的变量。
A more efficient technique is to filter database rows by placing conditions in the WHERE clause, which is evaluated immediately after the tables are specified within the FROM clause.
更有效的方法是通过在where子句中放置条件来过滤数据库行,在from子句中指定表之后会立即对where子句求值。
A more efficient technique is to filter database rows by placing conditions in the WHERE clause, which is evaluated immediately after the tables are specified within the FROM clause.
更有效的方法是通过在where子句中放置条件来过滤数据库行,在from子句中指定表之后会立即对where子句求值。
应用推荐