Exam 5: Multiple-Table Queries
Exam 1: Introduction to Premiere Products, Henry Books, and Alexamara Marina Group75 Questions
Exam 2: Database Design Fundamentals75 Questions
Exam 3: An Introduction to SQL75 Questions
Exam 4: Single-Table Queries75 Questions
Exam 5: Multiple-Table Queries75 Questions
Exam 6: Updating Data75 Questions
Exam 7: Database Administration75 Questions
Exam 8: MySQL Special Topics75 Questions
Select questions type
There are three set operations: union, intersection, difference. Define each of these operations. Which one(s)does MySQL support?
Free
(Essay)
4.9/5
(34)
Correct Answer:
The union of two tables creates a temporary table containing every row that is in either the first table, the second table, or both tables. The intersection of two tables creates a temporary table containing all rows that are in both tables. the difference of two tables creates a temporary table containing the set of all rows that are in the first table but that are not in the second table. MySQL only supports the UNION operator.
To qualify a column name, precede the name of the column with the name of the table, followed by a(n)____.
Free
(Multiple Choice)
4.9/5
(35)
Correct Answer:
B
Occasionally, a self-join might involve the primary key of a table.
Free
(True/False)
4.8/5
(32)
Correct Answer:
True
Sometimes you need to list all the rows from one of the tables in a join, regardless of whether they match any rows in the other table. This type of join is called a(n)____________________ join.
(Short Answer)
4.9/5
(27)
When the innermost subquery is evaluated, a permanent table is produced.
(True/False)
4.9/5
(32)
In a ____, all rows from the table on the right will be included regardless of whether they match rows from the table on the left.
(Multiple Choice)
4.9/5
(30)
In a(n)____ join, all rows from both tables are included regardless of whether they match rows from the other table..
(Multiple Choice)
4.8/5
(41)
If you precede the subquery by the ____ operator, the condition is true only if it satisfies any value (one or more)produced by the subquery.
(Multiple Choice)
4.9/5
(33)
In a multiple-table query, you list all the desired columns in the ____________________ clause and qualify any columns that appear in more than one table.
(Short Answer)
4.9/5
(30)
If the SQL implementation truly supports the union operation, it will remove any duplicate ____________________ automatically.
(Short Answer)
4.8/5
(42)
When tables are listed in the FROM clause, you can give each table a(n)____________________, or an alternate name.
(Short Answer)
4.9/5
(35)
You can join tables by using a condition in the ____ clause.
(Multiple Choice)
4.9/5
(31)
If you precede a subquery by the ____________________ operator, the condition is true only if it satisfies one or more values produced by the subquery.
(Short Answer)
4.7/5
(44)
Showing 1 - 20 of 75
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)