Filters
Question type

Study Flashcards

Describe the types of outer joins.

Correct Answer

verifed

verified

There are actually three types of outer ...

View Answer

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.


A) left inner join
B) left outer join
C) right outer join
D) right inner join

E) C) and D)
F) A) and D)

Correct Answer

verifed

verified

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.

Correct Answer

verifed

verified

There is only one approach to joining tables.

A) True
B) False

Correct Answer

verifed

verified

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

A) True
B) False

Correct Answer

verifed

verified

In a(n) ____ join, all rows from both tables are included regardless of whether they match rows from the other table..


A) normal
B) inner
C) full outer
D) combined

E) A) and D)
F) A) and C)

Correct Answer

verifed

verified

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


A) FROM
B) WHERE
C) SELECT
D) JOIN

E) A) and C)
F) A) and B)

Correct Answer

verifed

verified

Occasionally, a self-join might involve the primary key of a table.

A) True
B) False

Correct Answer

verifed

verified

True

If the SQL implementation truly supports the union operation, it will remove any duplicate ____________________ automatically.

Correct Answer

verifed

verified

MySQL does not support the MINUS operator.

A) True
B) False

Correct Answer

verifed

verified

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.

Correct Answer

verifed

verified

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.


A) IS SOME
B) IS ANY
C) SOME
D) ANY

E) A) and B)
F) None of the above

Correct Answer

verifed

verified

To qualify a column name, precede the name of the column with the name of the table, followed by a(n) ____.


A) ,
B) .
C) %
D) *

E) A) and B)
F) A) and C)

Correct Answer

verifed

verified

B

When tables are listed in the FROM clause, you can give each table a(n)____________________, or an alternate name.

Correct Answer

verifed

verified

It is permissible to qualify all column names in a query.

A) True
B) False

Correct Answer

verifed

verified

When the innermost subquery is evaluated, a permanent table is produced.

A) True
B) False

Correct Answer

verifed

verified

One reason for using an alias is simplicity.

A) True
B) False

Correct Answer

verifed

verified

If you precede a subquery by the ____________________ operator, the condition is true only if it satisfies one or more values produced by the subquery.

Correct Answer

verifed

verified

You must join tables on matching columns.

A) True
B) False

Correct Answer

verifed

verified

There are three set operations: union, intersection, difference. Define each of these operations. Which one(s)does MySQL support?

Correct Answer

verifed

verified

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.

Showing 1 - 20 of 75

Related Exams

Show Answer