INFOMAN MIDTERMS Flashcards
subqueries (13 cards)
the _______ executes to find information you dont know
subquery
the ______ uses that information to find out what you need to know
Outer query
this operator means equal to any member in the list
IN
this operator compares value to each value returned by the subquery
ANY
this operator compares value to every value returned by the subquery
ALL
How many tables can be joined by using the JOINS in Oracle DB?
No limit
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?
100 rows
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
IN
What keyword is used to determine the number of steps down from the beginning row that should be returned by a hierarchical query?
LEVEL
Which clause specifies how rows must be grouped?
GROUP BY
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?
Left outer join
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?
NATURAL JOIN