subqueries

subqueries

 英

  • 网络子查询;次查询

例句

The previous restrictions apply to any subqueries in the FROM clause of the view, just as they apply to the view itself.

上述限制适用视图FROM子句任何查询应用视图本身一样

The uncorrelated subqueries do not rely on the main query for information; hence they increase the power and flexibility of your main query.

相关查询依靠查询获取信息因此它们增加查询能力灵活性

Total number of rows processed by the SQL statement. This total does not include rows processed by subqueries of the SQL statement.

sql语句处理总行这个总行包括查询处理

Correlated subqueries are often used to test whether relationships exist without regard to cardinality.

相关性查询通常用于测试关系是否存在不管返回记录集大小

Note: Transactions containing DML statements with subqueries should use serializable isolation to guarantee consistent read.

如果事务存在使用查询DML语句应该使用串行化隔离保证一致性读取

Query hints can be specified only in the top-level query, not in subqueries.

只能顶级查询指定查询提示不能查询指定

Subqueries used in the subquery comparison test and set membership test both return data values from the subquery table.

查询比较测试使用查询集合成员资格测试使用查询查询返回数据

The expressions used in the SET clause can also be subqueries that return only one value.

SET子句使用表达可以返回一个查询

Expressions may be reordered and subqueries may be transformed to improve processing efficiency.

可以表达进行重新排序对子查询进行转换提高处理效率

Similarly, subqueries impose a certain order of join execution that may not be the most advantageous.

类似查询使连接按照一定顺序执行这种顺序也许不是最优

This tutorial describes subqueries stated as conditions in the WHERE clause, which are useful for simpler comparison queries.

教程描述WHERE子句作为条件查询这些查询对于简单比较查询有用

The subqueries aggregate the sales for each sales person within the UPDATE statement.

这些查询通过UPDATE聚合语句每个销售人员销售信息

The ORDER BY clause is not valid in views, inline functions, derived tables, and subqueries, unless TOP is also specified.

除非同时指定TOP否则ORDERBY子句视图内联函数派生查询无效

These access operations translate to more complex joins or correlated subqueries in the equivalent SQL.

这些访问操作换成等效SQL表示更为复杂联接关联查询

Removed inaccurate content about using subqueries in scalar_expression.

删除有关scalar_expression使用查询不准确内容

The statement must not contain subqueries, outer joins, or self-joins.

语句不能包含查询外部联接联接

UNION and JOIN within a FROM clause are supported within views and in derived tables and subqueries.

视图派生查询支持FROM子句UNIONJOIN

So the existence test applied to the following two subqueries return the same results.

因此用于以下两个查询存在测试返回相同结果

You can select, insert, and update the XML values using SQL statements with embedded XQuery subqueries.

使用具有嵌入XQuery查询SQL语句,可以选择插入更新XML

Create or modify joins between tables, views, user-defined functions, or subqueries.

创建修改视图用户定义函数查询联接

This includes SELECT lists of subqueries and SELECT lists inside INSERT statements.

其中包括查询SELECT列表INSERT语句SELECT列表

Also, subqueries, aggregates, and constant expressions are not allowed in the ORDER BY list.

此外ORDERBY列表允许使用查询聚合常量表达

Next, several examples of FROM clause and select-list subqueries are presented.

接着我们一些关于FROM子句select列表查询例子

Aggregate functions and subqueries are not permitted.

允许聚合函数查询

This example uses two correlated subqueries to find the names of employees who have sold a particular product.

示例使用两个相关查询查找售出特定产品雇员姓名

No columns, variables, or subqueries appear in the expression.

表达式没有变量查询

The rewrite phase is particularly important for queries that are very complex, such as queries with many subqueries or joins.

对于非常复杂查询例如带有很多查询连接查询重写阶段尤其重要

Perhaps the most important use for the IN keyword is in nested queries, also called subqueries.

或许IN关键字重要用法嵌套查询称作查询

The article also demonstrated how to modify a more complex database schema by using embedded subqueries.

本文演示如何通过使用嵌入式查询修改比较复杂数据库模式

You can use the GROUP BY clause, subqueries, and joins in view definitions.

可以视图定义使用GROUPBY子句查询连接

We need to pay attention to correlated subqueries and try to avoid using them whenever possible.

我们需要注意相关查询尽可能避免使用它们

There are two types of subqueries, uncorrelated and correlated.

类型查询相关相关

We first replaced as many subqueries in the original query as we could and then used the UNION set operator instead of OR operator.

我们首先尽可能替换原始查询查询然后使用UNION集合运算符代替OR运算

The problem is solved by using either CASE expressions or subqueries.

这个问题通过使用CASE表达查询解决

Specifies the provider supports subqueries as defined in the SQL-92 Entry Level.

指定提供程序SQL-92EntryLevel定义那样支持查询

Note it is more complicated than once may think - multiple buffers of the same type might be allocated for example to handle subqueries.

注意这里需要考虑只有可能分配多个一种类型缓存例如用来处理查询

Open SQL in ABAP 6. 1 supports joins among tables, subqueries, and most other SQL features of modern databases.

ABAP6.1OpenSQL支持联结查询现代数据库大多数其他SQL特性

This is alleviated by aggressively rewriting subqueries as joins.

但是通过积极地查询重写连接形式可以缓解问题

There are three basic types of subqueries.

基本查询

For example, constants, literal values, functions, variables, subqueries, and column names are expressions.

例如常量文字函数变量查询名称表达