Exam 8: Advanced SQL

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

Cursor-style processing involves retrieving data from the cursor,one row at a time.

(True/False)
4.8/5
(35)

Describe the characteristics of an Oracle sequence.

(Essay)
4.9/5
(31)

In Oracle,you can use the SQL*Plus command SHOW ERRORS to help you diagnose errors found in PL/SQL blocks.

(True/False)
4.9/5
(36)

If you wish to create an inner join,but the two tables do not have a commonly named attribute,you can use a(n)____ clause.

(Multiple Choice)
4.7/5
(35)

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

(Multiple Choice)
4.9/5
(37)

An alternate syntax for a join is SELECT column-list FROM table1 JOIN table2 ____________________ (common-column).

(Short Answer)
4.8/5
(36)

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

(Multiple Choice)
4.9/5
(33)

The IN subquery uses a(n)____________________ operator.

(Short Answer)
4.8/5
(35)

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

(Short Answer)
4.8/5
(47)

Stored procedures must have at least one argument.

(True/False)
4.8/5
(35)

An implicit cursor is automatically created in procedural SQL when the SQL statement returns only one value.

(True/False)
4.8/5
(34)

Stored procedures help reduce code duplication by means of code isolation and code sharing.

(True/False)
4.8/5
(37)

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

Triggers can only be used to update table values.

(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.8/5
(41)

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

(True/False)
4.8/5
(39)

The ____________________ statement can be used to combine rows from two queries,returning only the rows that appear in both sets.

(Short Answer)
4.9/5
(29)

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

(True/False)
4.8/5
(31)

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

(Short Answer)
4.7/5
(40)

What are SQL functions and when are they used? Provide a couple of examples of situations in which they are necessary.

(Essay)
4.8/5
(36)
Showing 81 - 100 of 100
close modal

Filters

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