Exam 8: Advanced SQL

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

An explicit cursor must return two or more rows.

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

False

If the DBMS does not support the INTERSECT statement,you can use a(n)____________________ subquery to achieve the same result.

Free
(Short Answer)
4.9/5
(38)
Correct Answer:
Verified

IN

The ____________________ outer join returns not only the rows matching the join condition (that is,rows with matching values in the common column),but also the rows in the left-side table with unmatched values in the right-side table.

Free
(Short Answer)
4.7/5
(32)
Correct Answer:
Verified

left

When using the Oracle TO_DATE function,the code ____ represents a three-letter month name.

(Multiple Choice)
4.8/5
(41)

"Union-compatible" means that the ____.

(Multiple Choice)
4.8/5
(34)

A(n)____________________ pools multiple transactions into a single batch to update a master table field in a single operation.

(Short Answer)
4.8/5
(21)

A(n)____________________ join returns all rows with matching values in the matching columns and eliminates duplicate columns.

(Short Answer)
4.8/5
(36)

In subquery terminology,the first query in the SQL statement is known as the ____ query.

(Multiple Choice)
4.8/5
(37)

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

(Short Answer)
4.8/5
(28)

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

(Short Answer)
4.8/5
(34)

The PL/SQL block starts with the ____ clause.

(Multiple Choice)
4.8/5
(35)

____________________ functions allow you to take a value of a given data type and convert it to the equivalent value in another data type.

(Short Answer)
4.8/5
(40)

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

(Multiple Choice)
4.8/5
(34)

Assume you are 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 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 UNION operator?

(Multiple Choice)
4.9/5
(30)

A(n)____________________ view is a view that can be used to update attributes in the base table(s)that are used in the view.

(Short Answer)
4.8/5
(39)

The ____ data type is compatible with NUMBER.

(Multiple Choice)
4.7/5
(27)

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

The syntax for the UNION query is ____.

(Multiple Choice)
4.7/5
(28)

In an Oracle sequence,the ____________________ pseudo-column retrieves the current value of a sequence.

(Short Answer)
4.9/5
(27)

When using the Oracle TO_NUMBER function to convert a character string into a number,____ represents a digit.

(Multiple Choice)
4.8/5
(33)
Showing 1 - 20 of 100
close modal

Filters

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