SQL/Oracle SQL 2 Flashcards

1
Q

used to combined the result of two select statements and eliminate duplicate

A

Union

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

retain all duplicates

A

Union all

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

used to combiner two select statements but only returns the records which are common from both select statement

A

Intersect

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

include only the result from the first result set that are not included in second result set

A

Except/Minus

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

are functions that takes a collection of value as an input and return as single value

A

Aggregate Function

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

was added to SQL because WHERE keyword cannot be used with aggregate functions

A

Having

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

Connective test for set membership where the set is a collection of values produced by select clause

A

In

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

Connective test for the absence of set membership

A

not in

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

greater than at least one

A

> some

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

greater than all

A

> all

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

returns the value true if the argument subquery is nonempty

A

exists

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

is expressed in much the same way as a query

A

delete

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

to change a value in a tuple without changing all values in the tuple

A

update

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