Exam 5: Multiple-Table Queries

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

The ____ of two tables is the set of all rows that are in the first table but that are not in the second table.

(Multiple Choice)
4.9/5
(52)

If you had two separate tables for customers and the query requested customers in the first table having the same city as customers in the second table, you could use a normal ____________________ operation to find the answer.

(Short Answer)
4.7/5
(45)

When joining tables, it is always necessary to qualify a column name.

(True/False)
4.8/5
(36)

You join tables in SQL by including a condition in the ____________________ clause to ensure that matching columns contain equal values.

(Short Answer)
4.7/5
(34)

You can use the EXISTS operator to retrieve data from more than one table.

(True/False)
4.9/5
(36)

When there is potential ambiguity in listing column names, you must ____________________ the columns involved in the query.

(Short Answer)
4.9/5
(39)

A(n) ____ clause can include statistics calculated for only the groups or columns whose values are identical for each row in a group.

(Multiple Choice)
4.9/5
(37)

There are three types of inner joins.

(True/False)
4.9/5
(35)

You must join tables by finding rows in the two tables that have identical values in matching columns.

(True/False)
4.9/5
(40)

Which of the following joins compares the tables in the FROM clause and lists only those rows that satisfy the condition in the WHERE clause?

(Multiple Choice)
4.7/5
(37)

It is easy to create a product inadvertently by omitting the WHERE clause when you are attempting to join tables.

(True/False)
4.8/5
(38)

There are three set operations: union, intersection, difference. Define each of these operations. Which are supported by Oracle?

(Essay)
4.9/5
(33)

Why do you use the ANY and ALL operators? What is the difference between the two operators?

(Essay)
4.8/5
(31)

Two tables are ____ compatible if they have the same number of columns and if their corresponding columns have identical data types and lengths.

(Multiple Choice)
4.8/5
(41)

You can perform special operations, such an self-joins, within SQL.

(True/False)
4.9/5
(37)

You can join tables by using a condition in the ____ clause.

(Multiple Choice)
4.8/5
(37)

Oracle supports the INTERSECT operator.

(True/False)
5.0/5
(41)

To produce the same results as the INTERSECT operator, use the BETWEEN operator and a subquery.

(True/False)
5.0/5
(36)

SQL Server does not support the MINUS operator.

(True/False)
4.8/5
(41)

You can join three tables together but not four tables.

(True/False)
4.8/5
(33)
Showing 41 - 60 of 75
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)