INFOMAN MIDTERMS Flashcards

subqueries (13 cards)

1
Q

the _______ executes to find information you dont know

A

subquery

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

the ______ uses that information to find out what you need to know

A

Outer query

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

this operator means equal to any member in the list

A

IN

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

this operator compares value to each value returned by the subquery

A

ANY

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

this operator compares value to every value returned by the subquery

A

ALL

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

How many tables can be joined by using the JOINS in Oracle DB?

A

No limit

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

If the REGIONS table, which contains 4 rows, is cross joined to the COUNTRIES table, which contains 25 rows, how many rows appear in the final results set?

A

100 rows

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

The _____ operator is used within the outer query WHERE clause to select only those rows which are IN the list of values returned from the inner query

A

IN

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

What keyword is used to determine the number of steps down from the beginning row that should be returned by a hierarchical query?

A

LEVEL

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

Which clause specifies how rows must be grouped?

A

GROUP BY

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

Which type of outer join performs a join on two tables, retrieves all the rows in the right table even if there is no match in the left table?

A

Left outer join

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

This type of JOIN clause is based on all columns in the two tables that have the same name. It selects rows from the two tables that have equal values in all matched columns. Which of the following refers to the given statement?

A

NATURAL JOIN

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