Exam 7: Advanced SQL

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

What is the difference between a trigger and a routine?

(Essay)
4.9/5
(79)

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

(Multiple Choice)
4.7/5
(78)

One major advantage of the outer join is that:

(Multiple Choice)
4.7/5
(87)

Persistent Sorted Modules are extensions defined in SQL-99 that include the capability to create and drop modules of code stored in the database schema across user sessions.

(True/False)
4.9/5
(86)

In order to find out what customers have not placed an order for a particular item, one might use the NOT qualifier along with the IN qualifier.

(True/False)
4.8/5
(77)

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

(True/False)
4.8/5
(75)

The following code is an example of a Subquery. SELECT Customer_T.CustomerID, Order_T.CustomerID, CustomerName, OrderID FROM Customer_T, Order_T WHERE Customer_T.CustomerID = Order_T. CustomerID;

(True/False)
5.0/5
(76)

SQL-invoked routines can be:

(Multiple Choice)
4.7/5
(83)

A join in which the joining condition is based on equality between values in the common columns is called a(n):

(Multiple Choice)
5.0/5
(80)

In which of the following situations would one have to use an outer join in order to obtain the desired results?

(Multiple Choice)
4.8/5
(93)

An equi-join is a join in which one of the duplicate columns is eliminated in the result table.

(True/False)
4.9/5
(87)

A function has only input parameters but can return multiple values.

(True/False)
4.9/5
(82)

Establishing IF-THEN-ELSE logical processing within an SQL statement can now be accomplished by using the CASE keyword in a statement.

(True/False)
4.9/5
(83)

One major disadvantage of the outer join is that information is easily lost.

(True/False)
4.7/5
(84)

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

(Multiple Choice)
5.0/5
(87)

Persistent Stored Modules are extensions defined in SQL:1999 that include the capability to add and drop modules of code.

(True/False)
4.9/5
(89)

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

(True/False)
4.7/5
(80)

All of the following are guidelines for better query design EXCEPT:

(Multiple Choice)
5.0/5
(73)

A procedure is:

(Multiple Choice)
4.8/5
(79)

EXISTS will take a value of ________ if the subquery returns an intermediate results table which contains one or more rows.

(Multiple Choice)
4.9/5
(78)
Showing 21 - 40 of 107
close modal

Filters

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