Exam 7: Advanced SQL

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

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

(Multiple Choice)
4.8/5
(34)

The UNION clause is used to:

(Multiple Choice)
4.9/5
(38)

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

(True/False)
4.9/5
(49)

What is a derived table? When is it used? Can you describe any situations where you would have to use it over a subquery in the where clause?

(Essay)
4.7/5
(34)

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

(Essay)
4.8/5
(31)

All of the following are advantages of SQL-invoked routines EXCEPT:

(Multiple Choice)
4.9/5
(36)

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

(Multiple Choice)
4.7/5
(38)

A ________ is a collection of SQL statements that are assigned a unique name and stored in the database.

(Short Answer)
4.9/5
(43)

________ can be thought of as a special case of triggers.

(Short Answer)
4.9/5
(35)

The advantages of SQL-invoked routines are flexibility,efficiency,shareability and applicability.

(True/False)
4.9/5
(30)

Establishing IF-THEN-ELSE logical processing within an SQL statement can be accomplished by:

(Multiple Choice)
4.9/5
(31)

The following query will execute without errors: select customer.customer_name,salesman.sales_quota from customer where customer.salesman_id = (select salesman_id where lname = 'SMITH');

(True/False)
4.8/5
(31)

An operation to join a table to itself is called a ________.

(Short Answer)
4.8/5
(34)

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

(Short Answer)
4.9/5
(36)

User-defined data types:

(Multiple Choice)
4.8/5
(26)

________ is used to generate appropriate SQL code on the fly.

(Short Answer)
4.9/5
(35)

The joining condition of an equi-join is based upon an equality.

(True/False)
4.8/5
(32)

Correlated subqueries are less efficient than queries that do not use nesting.

(True/False)
4.9/5
(32)

________,________,and ________ are three new data types added to SQL:200n.

(Short Answer)
4.7/5
(32)

A type of join implemented in SQL-1999 and by extension SQL-2003 that returns all of the data from each table that is joined is called a(n):

(Multiple Choice)
4.8/5
(36)
Showing 41 - 60 of 111
close modal

Filters

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