单词 | subquery | ||||||||||||||
释义 | subquery
更多释义 收起释义 例句释义: 子查询,活用子查询,千变万化的子查询 1. Within the body of a subquery, it is often necessary to refer to the value of a column in the active row of the main query. 在子查询的正文中,通常需要引用主查询的活动行中的列的值。 www.ianywhere.com 2. A reference to columns or expressions in the main table(s) is called an outer reference and the subquery is said to be correlated. 对主表中的列或表达式的引用被称作外部引用,并且这种子查询是相关的。 www.ianywhere.com 3. The EXISTS condition is TRUE if the subquery result contains at least one row, and FALSE if the subquery result does not contain any rows. 如果子查询结果至少包含一行,则EXISTS条件为TRUE;如果子查询结果一行也不包含,则条件为FALSE。 www.ianywhere.com 4. Multiple references to such columns in a subquery do not cause the functions to be evaluated multiple times. 在子查询中对这些列的多次引用不会使这些函数被计算多次。 technet.microsoft.com 5. Number of optimizations for a query that contains at least one subquery. 包含至少一个子查询的查询的优化数。 msdn2.microsoft.com 6. Two types of queries can be used in the WHERE clause of an UPDATE statement: a scalar subquery and a table subquery. 两种查询可以用于UPDATE语句的WHERE子句中:标量子查询和表子查询。 www.ibm.com 7. The result of the scalar subquery first needs to be transferred to the federated server. 首先需要将标量子查询的结果传送到联邦服务器。 www.ibm.com 8. The IN operator is one of four SQL operators that you can use with a table subquery. IN操作符是可以用于表子查询的四个SQL操作符之一。 www.ibm.com 9. If the subquery (which must have one column) returns one row, then the value of that row is compared to the expression. 如果子查询(必须含有一列)返回一行,则该行的值将与表达式进行比较。 www.ianywhere.com 10. Casts may be required if the columns of the initial subquery do not have the same domains as those of the recursive subquery. 如果初始子查询的列与递归子查询的列具有不同的域,则可能需要进行转换。 www.ianywhere.com 1. Any null values returned by subquery or expression that are compared to test_expression using IN or NOT IN return UNKNOWN. subquery或expression使用IN或NOTIN与test_expression比较后返回的所有空值都将返回UNKNOWN。 msdn2.microsoft.com 2. Is a constant, function, any combination of column names, constants, and functions connected by an operator or operators, or a subquery. 常量、函数以及由一个或多个运算符连接的列名、常量和函数的任意组合,或者是子查询。 msdn2.microsoft.com 3. A subquery that references one or more columns from its containing SQL statement is called a correlated subquery. 如果一个子查询中引用了包含查询语句的一个或多个字段,则该子查询就称为相关性子查询。 apps.hi.baidu.com 4. The SHIP3 operator contains the statement that shows the result of the scalar subquery being bound in as a host variable. SHIP3操作符包含一个语句,该语句表明标量子查询的结果放在一个主机变量中。 www.ibm.com 5. The query above contains a correlated subquery, since the main query and the subquery are relaying on the same table, the employees table. 以上查询包含一个相关子查询,因为主查询和子查询依靠于同一个表,即employees表。 www.ibm.com 6. The last section also describes the ALL, EXISTS, and SOME or ANY predicates, which can be used to express conditions on subquery results. 最后一节还描述了ALL、EXISTS和SOME或ANY谓词,这些谓词可用于表达子查询结果上的条件。 www.ibm.com 7. The main query does not contain a GROUP BY clause, and is not an aggregate query, or the subquery returns exactly one value. 主查询不包含GROUPBY子句并且不是汇总查询,或者子查询恰好返回一个值。 www.ianywhere.com 8. The number of times the subquery and its function is executed can vary with different access paths chosen by the optimizer. 子查询及其函数执行的次数会因优化器选择的访问路径的不同而异。 technet.microsoft.com 9. The first is the unnesting of the subquery into a join between the employee and sales_order tables. 第一个优化解除了职员与sales_order表之间连接中的子查询嵌套。 www.ianywhere.com 10. This extension, specifying a join, can be used instead of a subquery in the WHERE clause to identify rows to be removed. 这个扩展指定联接,可在WHERE子句中取代子查询来标识要删除的行。 msdn2.microsoft.com 1. The expression can be a constant or a column name, and the list can be a set of constants or, more commonly, a subquery. 该表达式可以是一个常量或一个列名,而列表可以是一组常量,通常为一个子查询。 www.ianywhere.com 2. The database server automatically attempts to convert the values returned by the recursive subquery to match those of the initial query. 数据库服务器会自动尝试转换由递归子查询返回的值,以便与初始查询的那些值匹配。 www.ianywhere.com 3. In this case, error 1242 means that the query execution failed because there was a problem in a subquery. 在这里,错误1242表示查询操作失败,由于子查询有问题。 www.ibm.com 4. The previous subquery in this statement cannot be evaluated independently of the outer query. 该语句中前面的子查询无法独立于外部查询进行计算。 msdn2.microsoft.com 5. Used with a subquery to test for the existence of rows returned by the subquery. 与子查询一起使用,用于测试是否存在子查询返回的行。 technet.microsoft.com 6. The only change we made here was to get rid of the subquery in the original qeury. 这里我们所做的惟一更改就是去掉了原始查询中的子查询。 www.ibm.com 7. Specifies the name of the table, view, user-defined function, or subquery for the associated data column. 指定表、视图、用户定义函数或关联数据列的子查询的名称。 office.microsoft.com 8. EXISTS Use EXISTS in a WHERE clause to indicate that a subquery should return at least one row. EXISTS在WHERE子句中使用EXISTS可以指示子查询至少应该返回一行。 office.microsoft.com 9. The SELECT subquery in the INSERT statement can be used to add values into a table from one or more other tables or views. INSERT语句中的SELECT子查询可用于将一个或多个表或视图中的值添加到另一个表中。 msdn2.microsoft.com 10. Thus, a subquery can be thought of as a temporary table with statement scope. 因此,一个子查询可以认为是语句范围内的临时表(内联视图)。 www.bing.com 1. Specifies the conditions for the rows returned in the result set for a SELECT statement, query expression, or subquery. 指定要在SELECT语句、查询表达式或子查询的结果集中返回的行的条件。 technet.microsoft.com 2. Explicit casts may also be required when the initial subquery selects values from different columns than the recursive subquery. 当初始子查询从与递归子查询不同的列中选择值时,也可能需要进行显式转换。 www.ianywhere.com 3. ALL Use ALL in a WHERE clause to retrieve rows that satisfy the condition when compared to every row returned by the subquery. ALL在WHERE子句中使用ALL,可以检索在与子查询返回的每个行进行比较时满足条件的行。 office.microsoft.com 4. A subquery can appear anywhere an expression can be used, if it returns a single value. 任何可以使用表达式的地方都可以使用子查询,只要它返回的是单个值。 msdn2.microsoft.com 5. The expression in the following table is one example of a calculated field that results from a subquery. 下表中的表达式便是使用子查询生成计算字段的一个示例。 office.microsoft.com 6. If your application requires a row filter to use a subsquery, ensure that the subquery only references lookup data that does not change. 如果您的应用程序要求行筛选器使用子查询,请确保子查询仅引用不发生更改的查找数据。 msdn2.microsoft.com 7. The expression cannot be a subquery or include an alias data type. 表达式不能是子查询,也不能包含别名数据类型。 msdn2.microsoft.com 8. You do not have to try this approach with queries that contain the IN subquery clause. 对包含IN子查询子句的查询,不必使用此方法。 msdn2.microsoft.com 9. The subscription_list column is used for log scanning and the subquery is used for extraction and synchronization. subscription_list列用于日志扫描,子查询用于抽取和同步。 www.ianywhere.com 10. The subquery in this statement is absurdly simple, and completely unnecessary, but it does serve to illustrate a point. 这个子查询非常简单,并且完全没有必要,但是它能说明一点。 www.bing.com 1. To use a table subquery, you need to use an SQL operator to combine the embedded query with a Boolean expression. 要使用表子查询,需要使用SQL操作符将嵌入式查询与布尔表达式组合在一起。 www.ibm.com 2. Design a query that uses a subquery to select the proper rows for a subscription from a table. 设计一个查询,该查询使用子查询从表中为预订选择适当的行。 www.ianywhere.com 3. The SUM function is included in a correlated subquery (the SELECT statement in parentheses). SUM函数包含在相关子查询(括号中的SELECT语句)中。 msdn2.microsoft.com 4. A GROUP BY clause in a subquery that references a column from the outer query returns an error as per the SQL standard. 按照SQL标准,引用外部查询中的列的子查询中的GROUPBY子句返回错误。 technet.microsoft.com 5. Each table, view, user-defined function, or subquery appears as a separate window in the Diagram pane. 在“图表”窗格中,每个表、视图、用户定义函数或子查询显示为单独的窗口。 office.microsoft.com 6. Using one ORDER BY clause applies only to when using UNION, EXCEPT and INTERSECT in a top-level query and not in a subquery. 只有在顶极查询而不是子查询中使用UNION、EXCEPT和INTERSECT时,才能使用一个ORDERBY子句。 msdn2.microsoft.com 7. The select list of a SELECT statement (either a subquery or an outer query). SELECT语句的选择列表(子查询或外部查询)。 msdn2.microsoft.com 8. In general, explicit casts are often required when the initial subquery returns a literal value or NULL. 一般而言,当初始子查询返回实际值或NULL值时,通常需要进行显式转换。 www.ianywhere.com 9. To negate a criterion that contains a subquery , you cannot place the NOT operator in the Column cell of the Grid pane . 若要对包含子查询的判据求反,就不能将NOT运算符放入网格窗格的列单元格中。 www.bing.com 10. You may have noticed that the subquery contains a reference to the id column from the customer table. 您可能已经注意到,子查询中包含对customer表上的id列的引用。 www.ianywhere.com 1. Subqueries used in the subquery comparison test and set membership test both return data values from the subquery table. 在子查询比较测试中使用的子查询和在集合成员资格测试中使用的子查询都从子查询表返回数据值。 www.ianywhere.com 2. Sometimes, however, you may be more concerned with whether the subquery returns any results, rather than which results. 不过,有时候您可能更关心子查询是否返回一些结果,而不是返回哪些结果。 www.ianywhere.com 3. You can use a scalar subquery to select a specific value that will be used in the expression of the WHERE clause. 可以使用标量子查询选择将用于WHERE子句的表达式中的特定值。 www.ibm.com 4. The main query asks for ; the subquery specifies properties of child . 主查询要求,子查询指定子元素的属性。 www.ibm.com 5. Each sggrep command can specify both the main query and a subquery. 每一个sggrep命令可以同时指定主查询和子查询。 www.ibm.com 6. These subquery sections will appear in the order that the database server executes the queries. 这些子查询部分将按照数据库服务器执行查询的顺序出现。 www.ianywhere.com 7. Rows for which the SUBSCRIBE BY value is in the subquery result set are extracted or synchronized. 其SUBSCRIBEBY值在子查询结果集内的行将被抽取或同步。 www.ianywhere.com 8. Examples of operation merging include view merging and subquery-to-join transformation. 运算合并的例子包括视图合并和子查询-连接(subquery-to-join)转换。 www.ibm.com 9. You use a subquery, also called a nested query, to calculate a value for use as a criterion. 可以使用子查询(又称嵌套查询)来计算用作条件的值。 office.microsoft.com 10. You can use any valid SQL keyword in a subquery, excluding data-definition keywords. 您可以在子查询中使用任何有效的SQL关键字,数据定义关键字除外。 office.microsoft.com 1. In this example, the subquery calculates exactly one value: the average quantity from the sales_order_items table. 在此示例中,子查询只计算一个值:sales_order_items表的平均数量。 www.ianywhere.com 2. The source table or tables become part of a subquery. 一个或多个源表将成为子查询的一部分。 office.microsoft.com 3. It is strongly recommended that all such logic be expressed in a join filter rather than a subquery. 强烈建议在联接筛选器中而不要在子查询中表示所有这类逻辑。 msdn2.microsoft.com 4. The HAVING clause then checks if each average quantity is more than double the quantity found by the subquery. HAVING子句然后检查每一平均数量是否超过子查询所找到的数量的两倍。 www.ianywhere.com 5. The replication tools use the subquery for extraction and synchronization only. 复制工具只使用该子查询进行抽取和同步。 www.ianywhere.com 6. The select list of the subquery must match the column list of the INSERT statement. 子查询的选择列表必须与INSERT语句的列列表匹配。 msdn2.microsoft.com 7. The existence test (EXISTS) checks whether a subquery produces any rows of query results. 存在测试(EXISTS)就是用来检查子查询是否生成一些查询结果行的。 www.ianywhere.com 8. When a subquery appears in the HAVING clause, like any expression in the HAVING clause, it is used as part of the row group selection. 当子查询出现在HAVING子句中时,像HAVING子句中的任何表达式一样,该子查询是作为行组选择的一部分来使用的。 www.ianywhere.com 9. Casts must always be applied to NULL values in the initial subquery. 对于初始子查询中的NULL值,必须总是进行转换。 www.ianywhere.com 10. The product. Id column in this subquery is an example of an outer reference. 此子查询中的product.id列是外部引用的一个例子。 www.ianywhere.com 1. A subquery in a comparison test must return exactly one value. 比较测试中的子查询必须恰好返回一个值。 www.ianywhere.com 2. Specifies a subquery to test for the existence of rows. 指定子查询以测试行是否存在。 msdn2.microsoft.com 3. In this case, the test returns TRUE if the subquery produces no rows, and FALSE otherwise. 在此情况下,如果子查询没有生成任何行,则该测试返回TRUE,否则返回FALSE。 www.ianywhere.com 4. The subquery calculates the average quantity of items in the sales_order_items table. 子查询计算sales_order_items表中各产品的平均数量。 www.ianywhere.com 5. What fraction of queries that were optimized contained a subquery? 所优化查询的哪一部分包含子查询? msdn2.microsoft.com 6. Determines whether a specified value matches any value in a subquery or a list. 确定指定的值是否与子查询或列表中的值相匹配。 msdn2.microsoft.com 7. When this statement is executed, the subquery is evaluated first. 当这条语句执行的时候,子查询会先执行。 www.bing.com 8. It returns the error Subquery allowed only one select list item. 它返回错误[子查询只允许一个选择列表项]。 www.ianywhere.com 9. Use the INSERT statement to specify values directly or from a subquery. 使用INSERT语句直接指定值或通过子查询指定值。 msdn2.microsoft.com 10. When Adaptive Server Anywhere processes a subquery, it caches the result. AdaptiveServerAnywhere在处理子查询时会高速缓存结果。 www.ianywhere.com 1. A subquery SELECT statement if executed independently of the T-SQL statement, in which it is nested, will return a result set. 一个子查询SELECT语句,如果脱离主查询而单独执行的话,将返回一个结果集。 www.bugsboard.net 2. An example is a function invoked by a subquery in a WHERE clause. 示例为WHERE子句中的子查询调用的函数。 technet.microsoft.com 3. You can use a nested query, also called a subquery, to create a calculated field. 可以使用嵌套查询(也称为子查询)来创建计算字段。 office.microsoft.com 4. It's important to note that technically, this is not a join, but a subquery. 重要的是要注意在技术上这不是一个联接,而是一个子查询。 www.ibm.com 5. This lets you reuse the value produced by these functions in the subquery. 这使您可以在子查询中重用这些函数所生成的值。 technet.microsoft.com 6. The recursive subquery extends the paths. 递归子查询可延伸路线。 www.ianywhere.com 7. A subquery can be used anywhere an expression is allowed. 任何允许使用表达式的地方都可以使用子查询。 technet.microsoft.com 8. A subquery that references a column in the outer statement. 引用外部语句中列的子查询。 technet.microsoft.com 9. You can also preface EXISTS with NOT, to indicate that a subquery should not return any rows. 您还可以添加NOT作为EXISTS的前缀,以指示子查询不应该返回任何行。 office.microsoft.com 10. Is a subquery that retrieves rows from the database. 从数据库中检索行的子查询。 msdn2.microsoft.com 1. The recursive subquery cannot contain DISTINCT, or a GROUP BY or an ORDER BY clause. 递归子查询不能包含DISTINCT、GROUPBY或ORDERBY子句。 www.ianywhere.com 2. The sample expressions in the following table match rows based on the results returned by a subquery. 下表中的示例表达式基于子查询返回的结果匹配行。 office.microsoft.com 3. In the example, this is represented by the outermost select statement, which uses S1 as a subquery. 在这个示例中,这由最外层的选择语句表示,这个语句将S1用作子查询。 www.ibm.com 4. You can do so by using an SQL INSERT statement that uses a subquery to get the values to insert. 可以通过使用SQLINSERT语句来实现,该语句使用一个子查询来获得要插入的值。 www.ibm.com 5. Create a view that contains this subquery. 创建包含该子查询的视图。 www.ianywhere.com 6. Because the value requested for CustomerID does not exist, the subquery returns no value and the variable is set to NULL. 由于为CustomerID请求的值不存在,因此子查询不返回值,并将变量设为NULL。 technet.microsoft.com 7. Instead of using subquery, we join two tables directly. 我们直接将两个表连接在一起,而不再使用子查询。 www.ibm.com 8. This statement is represented in the example as subquery S1. 这个语句在示例中表示为子查询S1。 www.ibm.com 9. The subquery constructing the product names returns the result as a string that is entitized and then added to the XML. 构造产品名的子查询将返回已实体化并随后添加到XML的字符串。 msdn2.microsoft.com 10. The recursive subquery can not make use of any aggregate function. 递归子查询不能使用任何集合函数。 www.ianywhere.com 1. Using a SELECT subquery also lets more than one row be inserted at the same time. 使用SELECT子查询还可以同时插入多行。 msdn2.microsoft.com 2. The following example returns a result set with NULL specified in the subquery and still evaluates to TRUE by using EXISTS. 以下示例返回在子查询中指定了NULL的结果集,并且通过使用EXISTS仍求值为TRUE。 technet.microsoft.com 3. A subquery that returns a result set of one column. 返回一列的结果集的子查询。 msdn2.microsoft.com 4. Is a subquery that has a result set of one column. 包含某列结果集的子查询。 technet.microsoft.com 5. The subquery is correlated; that is, it contains an outer reference. 该子查询是相关的;即,它包含外部引用。 www.ianywhere.com 6. The result of that subquery then becomes a value in the WHERE clause expression 它的结果会成为where语句表达式中的一个值。 www.bing.com 7. Statements that include a subquery usually take one of these formats: WHERE expression 包含子查询的语句通常采用以下格式中的一种 msdn2.microsoft.com 8. A subquery that follows the keyword EXISTS is converted to a join only if it satisfies the following two conditions 只有在满足以下两个条件后,跟随在关键字EXISTS之后的子查询才可转换为连接 www.ianywhere.com 9. The following is an example showing both a subquery SELECT and a join SELECT that return the same result set 以下示例显示了返回相同结果集的SELECT子查询和SELECT联接 msdn2.microsoft.com 10. Common SQL keywords that you can use with a subquery 可在子查询中使用的常见SQL关键字 office.microsoft.com 1. Query with Complex Correlated Subquery May Cause Unexpected Results in Aggregate Functions 带有复杂的关联子查询的查询可能会导致聚合函数产生意外的结果 support.microsoft.com 2. Correlated Subquery on Partitioned Views with Text Operations May Cause Access Violation 对分区视图执行带有文本操作的关联子查询可能会导致访问冲突 support.microsoft.com 3. Better error message when using a subquery that contains a reference to non existing property 当使用的子查询中包含一个不存在的属性时的更友好的错误信息 www.infoq.com 4. Nest a query inside another query or in an expression by using a subquery 使用子查询将查询嵌入到其他查询或表达式中 office.microsoft.com 5. Consider this query, whose subquery extracts two columns from the sales_order_items table 请看以下查询,其子查询从sales_order_items表中提取两列 www.ianywhere.com 6. Use a subquery as a criterion in a Select query 在选择查询中使用子查询作为条件 office.microsoft.com 7. A subquery with a comparison returns a single value 使用比较符号的子查询返回单个值 www.ianywhere.com 8. This query contains an example of a subquery comparison test 下面的查询包含一个子查询比较测试的示例 www.ianywhere.com 9. Coalesce with Subquery May Generate an Access Violation 与子查询合并可能或产生访问冲突 support.microsoft.com 10. Expression that uses a subquery to create a calculated field 使用子查询创建计算字段的表达式 office.microsoft.com 1. A subquery nested in the outer SELECT statement has the following components 嵌套在外部SELECT语句中的子查询包括以下组件 msdn2.microsoft.com 2. By using a SELECT subquery to specify the data values for one or more rows, such as 使用SELECT子查询为一行或多行指定数据值,例如 msdn2.microsoft.com |
||||||||||||||
随便看 |
英汉双解词典包含2704715条英汉词条,基本涵盖了全部常用单词的翻译及用法,是英语学习的有利工具。