Exam 6: Advanced SQL

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

________ takes a value of TRUE if a subquery returns an intermediate results table which contains one or more rows.

Free
(Multiple Choice)
4.7/5
(35)
Correct Answer:
Verified

C

While triggers run automatically, ________ do not and have to be called.

Free
(Multiple Choice)
4.8/5
(36)
Correct Answer:
Verified

B

A base table is the underlying table that is used to create views.

Free
(True/False)
4.8/5
(45)
Correct Answer:
Verified

True

A procedure is:

(Multiple Choice)
4.8/5
(33)

Specifying the attribute names in the SELECT statement will make it easier to find errors in queries and also correct for problems that may occur in the base system.

(True/False)
4.8/5
(37)

The following statement is an example of: CREATE TABLE Customer_t ( CustNmbr number(11,0), CreditLimit number(6,2), CustStart date, CustEnd date, PERIOD for Custperiod(CustStart,CustEnd));

(Multiple Choice)
4.9/5
(36)

A correlated subquery is executed once for each iteration through the outer loop.

(True/False)
4.9/5
(33)

Subqueries can only be used in the WHERE clause.

(True/False)
4.9/5
(28)

In order for two queries to be UNION-compatible, they must:

(Multiple Choice)
4.9/5
(28)

What is a self-join and how is it used?

(Essay)
4.9/5
(35)

A named set of SQL statements that are considered when a data modification occurs are called:

(Multiple Choice)
4.8/5
(34)

An operation to join a table to itself is called a(n):

(Multiple Choice)
4.7/5
(33)

It is better not to have a result set identified before writing GROUP BY and HAVING clauses for a query.

(True/False)
4.7/5
(36)

When is it better to use a subquery over using a join?

(Essay)
4.8/5
(27)

The outer join syntax does not apply easily to a join condition of more than ________ tables.

(Multiple Choice)
4.8/5
(27)

Joining tables or using a subquery may produce the same result.

(True/False)
4.8/5
(31)

All of the following are part of the coding structure for triggers EXCEPT:

(Multiple Choice)
4.8/5
(37)

What are some tips for developing queries?

(Essay)
4.8/5
(39)

A join in which rows that do not have matching values in common columns are still included in the result table is called a(n):

(Multiple Choice)
4.9/5
(37)

When a subquery is used in the FROM clause, it is called a denied table.

(True/False)
4.8/5
(32)
Showing 1 - 20 of 95
close modal

Filters

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