Exam 6: Procedural Language Sql and Advanced Sql

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

Just like database triggers, stored procedures are stored in the database.

(True/False)
4.8/5
(35)

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

You can declare variables inside a stored procedure.

(True/False)
4.7/5
(35)

The Oracle equivalent to an MS Access AutoNumber is a(n) ____.

(Multiple Choice)
4.8/5
(40)

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

(Multiple Choice)
5.0/5
(25)

Each statement inside the PL/SQL code must end with a period (".").

(True/False)
4.9/5
(33)

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

(Multiple Choice)
4.9/5
(34)

PL/SQL functions are executed in the same way as functions such as MIN and AVG.

(True/False)
4.8/5
(35)

The syntax for a left outer join is ____.

(Multiple Choice)
4.7/5
(29)

"Union-compatible" means that the ____.

(Multiple Choice)
4.8/5
(34)

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

(Short Answer)
4.9/5
(40)

____ is a relational set operator.

(Multiple Choice)
4.8/5
(36)

Every PL/SQL block must be given a name.

(True/False)
4.7/5
(42)

A ____ is a query (SELECT statement) inside a query.

(Multiple Choice)
4.9/5
(33)

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

(Multiple Choice)
4.8/5
(36)

A statement-level trigger is assumed if you omit the FOR EACH ROW keywords.

(True/False)
4.8/5
(40)

Explain the different basic types of join operations. What are they and how do they work?

(Essay)
4.7/5
(35)

The statement SELECT * FROM T1, T2 produces a(n) ____ join.

(Multiple Choice)
5.0/5
(39)

The Oracle ____ function compares an attribute or expression with a series of values and returns an associated value or a default value if no match is found.

(Multiple Choice)
4.9/5
(33)

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

(Short Answer)
4.7/5
(35)
Showing 21 - 40 of 100
close modal

Filters

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