Exam 7: Advanced SQL

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

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

(True/False)
4.7/5
(37)

The following SQL statement is an example of a correlated subquery: select first_name,last_name,total_sales from salesman s1 where total_sales > all (select total_sales from salesman s2 where s1.salesman_id != s2.salesman_id);

(True/False)
4.7/5
(39)

When a subquery is used in the FROM clause,it is called a(n)________.

(Short Answer)
4.8/5
(21)

In order to embed SQL inside of another language,the ________ statement must be placed before the SQL in the host language.

(Multiple Choice)
4.8/5
(27)

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

(Essay)
4.9/5
(25)

________ 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.

(Short Answer)
4.8/5
(41)

A ________ is a temporary table used in the FROM clause of an SQL query.

(Multiple Choice)
4.9/5
(35)

A join operation:

(Multiple Choice)
4.8/5
(30)

________ consists of hard-coded SQL statements within another language,such as Java or C.

(Short Answer)
4.9/5
(35)

Discuss some of the SQL:200n enhancements and extensions to SQL

(Essay)
4.8/5
(32)

In SQL,a(n)________ subquery is a type of subquery in which processing the inner query depends on data from the outer query.

(Multiple Choice)
4.7/5
(36)

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

(True/False)
5.0/5
(23)

The ________ clause is used to combine the output from multiple queries into a single result table.

(Short Answer)
4.9/5
(32)

The MERGE command:

(Multiple Choice)
4.8/5
(39)

A ________ is a stored subroutine that returns only one value and has only input parameters.

(Short Answer)
4.7/5
(34)

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

(Short Answer)
4.9/5
(37)

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

(Multiple Choice)
4.7/5
(39)

IF-THEN-ELSE logical processing cannot be accomplished within an SQL statement.

(True/False)
4.9/5
(41)

What is the difference between a trigger and a routine?

(Essay)
4.7/5
(28)

________ use the result of the outer query to determine the processing of the inner query.

(Short Answer)
4.7/5
(42)
Showing 81 - 100 of 111
close modal

Filters

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