3 Sub Query Flashcards

1
Q

define sub query

A

the Query within a Query is called the sub query

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

where we can write sub query

A

near select, from , where

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

to comare single value we use

A

>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

to comare multiple value we use

A

all , any

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

All

A

this will give all values apart form specified.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

any

A

this will give all values and also specified.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Corelated

A

if the output sq depend on in ternal sq(subquery)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

which runs first internal sq or External sq

A

internal sq

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

for each transcation of _______ sq the ______ sq will run individually

A

internal sq , outer sq

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

disadvantage of corelated sub query

A

time consuming

How well did you know this?
1
Not at all
2
3
4
5
Perfectly