Filters
Question type

Study Flashcards

A stored function is another name for a stored procedure.

Correct Answer

verifed

verified

Stored procedures are executed using the EXEC command.

Correct Answer

verifed

verified

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?


A) 0
B) 2
C) 7
D) 10

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

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


A) natural
B) cross
C) full outer
D) left outer

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

When using a subquery, the output of a(n) ____________________ query is used as the input for the outer query.

Correct Answer

verifed

verified

SQL supports the conditional execution of procedures (if...then...else statements) that are typically supported by a programming language.

Correct Answer

verifed

verified

False

The ____ data type is considered compatible with VARCHAR(35) .


A) DATE
B) INT
C) TINYINT
D) CHAR(15)

Correct Answer

verifed

verified

D

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

Correct Answer

verifed

verified

Cursors are held in a reserved memory area in the client computer.

Correct Answer

verifed

verified

A stored function uses the ____ statement to return a value.


A) EXIT
B) END
C) RETURN
D) PROCESS

Correct Answer

verifed

verified

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.

Correct Answer

verifed

verified

The ____________________ 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.

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

The PL/SQL block starts with the ____ clause.


A) IS
B) OPEN
C) DECLARE
D) BEGIN

Correct Answer

verifed

verified

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.

Correct Answer

verifed

verified

A(n) ____________________ join performs a relational product (also known as the Cartesian product) of two tables.

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

updatable

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


A) outer
B) left
C) inner
D) base

Correct Answer

verifed

verified

Showing 1 - 20 of 100

Related Exams

Show Answer