Exam 8: Advanced Sql

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

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

(Short Answer)
4.8/5
(49)

Assume you are using the INTERSECT 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 INTERSECT operator?

(Multiple Choice)
4.8/5
(34)

How many rows would be returned from a cross join of tables A and B, if A contains 8 rows and B contains 18?

(Multiple Choice)
4.8/5
(41)

Which of the following is a feature of a correlated subquery?

(Multiple Choice)
4.9/5
(33)

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

(True/False)
4.8/5
(34)

A trigger is procedural SQL code that is automatically invoked by the RDBMS upon the occurrence of a given data manipulation event.

(True/False)
4.9/5
(41)

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

(True/False)
4.8/5
(37)

One of the disadvantages of stored procedures is that they increase network traffic.

(True/False)
4.8/5
(38)

Assume a designer is using the UNION 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 Jenna and Howard are included in the CUSTOMER table as well as in the CUSTOMER_2 table. How many records are returned when using the UNION operator?

(Multiple Choice)
4.9/5
(36)

The data type is compatible with NUMBER.

(Multiple Choice)
4.8/5
(37)

The syntax for the UNION query is .

(Multiple Choice)
4.8/5
(33)

A(n) subquery is a subquery that executes once for each row in the outer query.

(Short Answer)
4.8/5
(31)

Describe the characteristics of an Oracle sequence.

(Essay)
4.9/5
(39)

A join returns rows with matching values and includes all rows from both tables (T1 and T2) with unmatched values.

(Multiple Choice)
4.9/5
(33)

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

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

(True/False)
4.8/5
(39)

is the term used to describe an environment in which the SQL statement is not known in advance and is generated at run time.

(Short Answer)
4.9/5
(37)

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

(Short Answer)
4.8/5
(33)

The IN subquery uses a(n) operator.

(Short Answer)
4.8/5
(36)

The statement combines the output of two SELECT queries.

(Short Answer)
4.8/5
(28)
Showing 81 - 100 of 109
close modal

Filters

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