Exam 7: Advanced SQL

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

User-defined ________ can improve system performance because they will be processed as sets rather than individually,thus reducing system overhead.

Free
(Short Answer)
4.8/5
(37)
Correct Answer:
Verified

transactions

RDBMSs store database definition information in system-created tables which can be considered a data dictionary.

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

True

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

Free
(Short Answer)
4.8/5
(31)
Correct Answer:
Verified

two

A type of query that is placed within a WHERE or HAVING clause of another query is called a:

(Multiple Choice)
4.7/5
(40)

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

(True/False)
4.8/5
(35)

What strategies can be used to write queries that run more efficiently?

(Essay)
4.9/5
(33)

Using an ________ produces this information: rows that do not have matching values in common columns are also included in the result table.

(Short Answer)
4.7/5
(39)

A ________ is the same as an equi-join,except that it is performed over matching columns that have been defined with the same name and one of the duplicate columns is eliminated.

(Short Answer)
4.8/5
(29)

SQL statements can be included in another language,such as C or Java.

(True/False)
4.8/5
(35)

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.9/5
(37)

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
(30)

The natural join is very rarely used.

(True/False)
4.8/5
(30)

Combining a table with itself results in a faster query.

(True/False)
4.9/5
(39)

The following queries produce the same results. select customer_name,customer_city from customer,salesman where customer.salesman_id = salesman.salesman_id and salesman.lname = 'SMITH'; select customer_name,customer_city from customer where customer.salesman_id = (select salesman_id from salesman where lname = 'SMITH');

(True/False)
4.9/5
(27)

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
(39)

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

(Multiple Choice)
4.9/5
(30)

What can be done with persistent stored modules?

(Essay)
4.8/5
(27)

A subquery in which processing the inner query depends on data from the outer query is called a codependent query.

(True/False)
4.8/5
(31)

While triggers do run automatically,________ do not.

(Short Answer)
4.8/5
(39)

The results of a ________ join will be a table that includes all of the data from each table that is joined.

(Short Answer)
5.0/5
(32)
Showing 1 - 20 of 111
close modal

Filters

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