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.

例如常量文字函數變量查詢名稱表達