Exam 8: Advanced SQL

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

PL/SQL blocks have a section used to declare variables.

(True/False)
4.7/5
(37)

What are the four different result types that can be returned from a subquery? For each type,explain what it is and when it is used.

(Essay)
4.9/5
(32)

The most useful feature of PL/SQL blocks is that they let you create code that can be named,stored,and executed by the DBMS.

(True/False)
4.9/5
(32)

A row-level trigger requires use of the ____________________ keywords.This type of trigger is executed once for each row affected by the triggering statement.

(Short Answer)
4.7/5
(35)

The NEXT command for a cursor is used to retrieve a row from the cursor and place it in the respective PL/SQL variables.

(True/False)
4.7/5
(42)

A(n)____ is a block of code (containing standard SQL statements and procedural extensions)that is stored and executed at the DBMS server.

(Multiple Choice)
4.8/5
(34)

The ____ operator could be used in place of INTERSECT if the RDBMS does not support it.

(Multiple Choice)
4.7/5
(25)

Using Oracle ____________________,you can write a PL/SQL code block by enclosing the commands inside BEGIN and END clauses.

(Short Answer)
4.8/5
(48)

A(n)____ join will select only the rows with common values in the common attribute(s).

(Multiple Choice)
4.8/5
(32)

You can declare variables inside a stored procedure.

(True/False)
4.8/5
(41)

The ____________________ statement combines rows from two or more queries without including duplicate rows.

(Short Answer)
4.8/5
(34)

The ____ statement in SQL combines rows from two queries and returns only the rows that appear in the first set but not in the second.

(Multiple Choice)
4.9/5
(34)

One of the major advantages of stored procedures is that they can be used to encapsulate and represent business transactions.

(True/False)
4.9/5
(37)

A(n)____________________ query can be used to produce a relation that retains the duplicate rows.

(Short Answer)
4.8/5
(32)

The ____ function returns the current system date in MS Access.

(Multiple Choice)
4.9/5
(31)

Describe the characteristics of an Oracle sequence.

(Essay)
4.7/5
(38)

In Oracle,the ____ function converts a date to a character string.

(Multiple Choice)
4.8/5
(25)

To remedy the lack of procedural functionality in SQL,and to provide some standardization within the many vendor offerings,the SQL-99 standard defined the use of persistent stored modules.

(True/False)
4.7/5
(32)

A trigger is executed as part of the transaction that triggered it.

(True/False)
4.8/5
(32)

Assume you are using the MINUS operator to combine the results from two tables with identical structure,CUSTOMER and CUSTOMER_2.The CUSTOMER table contains 10 rows,while the CUSTOMER_2 table contains 7 rows.Customers Dunne and Olowski are included in the CUSTOMER table as well as in the CUSTOMER_2 table.How many records are returned when using the MINUS operator?

(Multiple Choice)
4.8/5
(31)
Showing 81 - 100 of 100
close modal

Filters

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