Exam 7: Advanced SQL

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

Triggers can be used to ensure referential integrity, enforce business rules, create audit trails and replicate tables, but cannot call other triggers.

(True/False)
4.8/5
(71)

A type of join where a table is joined to itself is called a(n):

(Multiple Choice)
4.7/5
(81)

An interactive command that can be used to dynamically control a user session for appropriate integrity measures is:

(Multiple Choice)
4.7/5
(81)

Discuss the differences between an equi-join, natural join and outer join.

(Essay)
4.8/5
(79)

Embedded SQL consists of:

(Multiple Choice)
4.9/5
(69)

A trigger is a named set of SQL statements that are considered when a data modification occurs.

(True/False)
4.8/5
(77)

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.8/5
(74)

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

(Multiple Choice)
4.7/5
(75)

When EXISTS or NOT EXISTS is used in a subquery, the select list of the subquery will usually just select all columns as a placeholder because it doesn't matter which columns are returned.

(True/False)
4.9/5
(90)

DBA_USERS contains comments on all tables in an Oracle database.

(True/False)
4.8/5
(84)

User-defined data types:

(Multiple Choice)
4.9/5
(79)

What can be done with Persistent Stored Modules?

(Essay)
4.9/5
(85)

Triggers have three parts: the event, the condition, and the action.

(True/False)
4.9/5
(71)

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

(Multiple Choice)
4.8/5
(80)

The following code is an example of a correlated subquery. SELECT CustomerName, CustomerAddress, CustomerCity, CustomerState, CustomerPostalCode FROM Customer_T WHERE Customer_T.CustomerID = (SELECT Order_T.CustomerID FROM Order_T WHERE OrderID = 1008);

(True/False)
4.8/5
(69)

An SQL query that implements an outer join will return rows that do not have matching values in common columns.

(True/False)
4.8/5
(76)

Combining a table with itself results in a faster query.

(True/False)
5.0/5
(86)

The most commonly used form of join operation is the:

(Multiple Choice)
4.9/5
(77)

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

(True/False)
4.8/5
(65)

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.9/5
(94)
Showing 81 - 100 of 107
close modal

Filters

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