Rewards
Web
Images
Videos
Academic
Dict
Maps
More
Flights
My Bing
Notebook
Subqueries
Web
子查询;次查询
Web Definition
1.
子查询
三、
子查询
(
Subqueries
):子查询是在where子句中包含的查询语句,是由系列简单构成的复杂查询。问:谁与smith在同一部门 …
blog.csdn.net
|
Based on 221 pages
2.
次查询
次查询
(
Subqueries
) 任何数目的次查询可以存在型态的任意层级中,而且次查询可以使用巢状结构,但是却不允许空的次查 …
tw.myblog.yahoo.com
|
Based on 3 pages
Sample Sentence
Definition:
All
All
,
子查询
子查询
,
次查询
次查询
Category:
All
All
,
Oral
Oral
,
Written
Written
,
Title
Title
,
Technical
Technical
Source:
All
All
,
Dictionary
Dictionary
,
Web
Web
Difficulty:
All
All
,
Easy
Easy
,
Middle
Middle
,
Hard
Hard
More sentence filters
Hide sentence filters
1.
The
previous
restrictions
apply
to
any
subqueries
in the FROM
clause
of
the
view
,
just
as
they
apply
to the
view
itself
.
上述
限制
适用
于
视图
的
FROM
子句
中
的
任何
子
查询
,
就
像
其
应用
于
视图
本身
一样
。
shàng shù
xiàn zhì
shì yòng
yú
shì tú
de
FROM
zǐ jù
zhōng
de
rèn hé
zǐ
chá xún
,
jiù
xiàng
qí
yìng yòng
yú
shì tú
běn shēn
yí yàng
。
msdn2.microsoft.com
2.
The uncorrelated
subqueries
do
not
rely
on the
main
query
for
information
;
hence
they
increase
the
power
and
flexibility
of
your
main
query
.
不
相关
的
子
查询
不
依靠
主
查询
来
获取
信息
;
因此
,
它们
增加
了
主
查询
的
能力
和
灵活性
。
bù
xiāng guān
de
zǐ
chá xún
bù
yī kào
zhǔ
chá xún
lái
huò qǔ
xìn xī
;
yīn cǐ
,
tā men
zēng jiā
le
zhǔ
chá xún
de
néng lì
hé
líng huó xìng
。
www.ibm.com
3.
Total
number
of
rows
processed
by the
SQL
statement
.
This
total
does not
include
rows
processed
by
subqueries
of the
SQL statement
.
sql
语句
处理
的
总行
数
。
这个
总行
数
不
包括
子
查询
处理
的
行
数
。
sql
yǔ jù
chǔ lǐ
de
zǒng háng
shù
。
zhè ge
zǒng háng
shù
bù
bāo kuò
zǐ
chá xún
chǔ lǐ
de
xíng
shù
。
blog.sina.com.cn
4.
Correlated
subqueries
are
often
used
to
test
whether
relationships
exist
without
regard
to
cardinality
.
相关性
查询
通常
用于
测试
某
种
关系
是否
存在
,
而
不管
返回
记录集
的
大小
,
xiāng guān xìng
chá xún
tōng cháng
yòng yú
cè shì
mǒu
zhǒng
guān xì
shì fǒu
cún zài
,
ér
bù guǎn
fǎn huí
jì lù jí
de
dà xiǎo
,
blog.csdn.net
5.
Note:
Transactions
containing
DML
statements
with
subqueries
should
use
serializable
isolation
to
guarantee
consistent
read
.
如果
事务
中
存在
使用
了
子
查询
的
DML
语句
,
应该
使用
串行化
隔离
来
保证
一致性
的
读取
。
rú guǒ
shì wù
zhōng
cún zài
shǐ yòng
le
zǐ
chá xún
de
DML
yǔ jù
,
yīng gāi
shǐ yòng
chuàn xíng huà
gé lí
lái
bǎo zhèng
yí zhì xìng
de
dú qǔ
。
www.zw1840.com
6.
Query
hints
can be
specified
only
in
the
top-level
query
,
not
in
subqueries
.
只能
在
顶级
查询
中
指定
查询
提示
,
不能
在
子
查询
指定
。
zhǐ néng
zài
dǐng jí
chá xún
zhōng
zhǐ dìng
chá xún
tí shì
,
bù néng
zài
zǐ
chá xún
zhǐ dìng
。
msdn2.microsoft.com
7.
Subqueries
used
in
the
subquery
comparison
test
and
set
membership
test
both
return
data
values
from
the
subquery
table
.
在
子
查询
比较
测试
中
使用
的
子
查询
和
在
集合
成员资格
测试
中
使用
的
子
查询
都
从
子
查询
表
返回
数据
值
。
zài
zǐ
chá xún
bǐ jiào
cè shì
zhōng
shǐ yòng
de
zǐ
chá xún
hé
zài
jí hé
chéng yuán zī gé
cè shì
zhōng
shǐ yòng
de
zǐ
chá xún
dōu
cóng
zǐ
chá xún
biǎo
fǎn huí
shù jù
zhí
。
www.ianywhere.com
8.
The
expressions
used
in
the
SET
clause
can
also
be
subqueries
that
return
only
one
value
.
SET
子句
中
使用
的
表达
式
还
可以
是
只
返回
一个
值
的
子
查询
。
SET
zǐ jù
zhōng
shǐ yòng
de
biǎo dá
shì
hái
kě yǐ
shì
zhǐ
fǎn huí
yī gè
zhí
de
zǐ
chá xún
。
msdn2.microsoft.com
9.
Expressions
may
be
reordered
and
subqueries
may
be
transformed
to
improve
processing
efficiency
.
可以
对
表达
式
进行
重新
排序
并
对子
查询
进行
转换
以
提高
处理
效率
。
kě yǐ
duì
biǎo dá
shì
jìn xíng
chóng xīn
pái xù
bìng
duì zi
chá xún
jìn xíng
zhuǎn huàn
yǐ
tí gāo
chǔ lǐ
xiào lǜ
。
www.ianywhere.com
10.
Similarly
,
subqueries
impose a
certain
order
of
join
execution
that
may
not
be
the most advantageous
.
类似
地
,
子
查询
会
使
连接
按照
一定
的
顺序
执行
,
而
这种
顺序
也许
不是
最优
的
。
lèi sì
de
,
zǐ
chá xún
huì
shǐ
lián jiē
àn zhào
yí dìng
de
shùn xù
zhí xíng
,
ér
zhè zhǒng
shùn xù
yě xǔ
bú shì
zuì yōu
de
。
www.ibm.com
1
2
3
4
5