Filters
Question type

Study Flashcards

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


A) The inner subquery executes first.
B) The outer subquery initiates the process of execution in a subquery.
C) The inner subquery initiates the process of
D) The outer subquery executes independent
execution in a subquery. of the inner subquery

E) C) and D)
F) B) and C)

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

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

A) True
B) False

Correct Answer

verifed

verified

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

A) True
B) False

Correct Answer

verifed

verified

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


A) 8
B) 18
C) 26
D) 144

E) B) and C)
F) A) and C)

Correct Answer

verifed

verified

The IN subquery uses a(n) operator.

Correct Answer

verifed

verified

The data type is compatible with NUMBER.


A) VARCHAR(15)
B) SMALLINT
C) DATE
D) CHAR(10)

E) All of the above
F) A) and C)

Correct Answer

verifed

verified

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?


A) 7
B) 10
C) 15
D) 17

E) A) and C)
F) A) and B)

Correct Answer

verifed

verified

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

A) True
B) False

Correct Answer

verifed

verified

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

A) True
B) False

Correct Answer

verifed

verified

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

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

E) A) and B)
F) A) and C)

Correct Answer

verifed

verified

Describe the characteristics of an Oracle sequence.

Correct Answer

verifed

verified

- Oracle sequences are an independent ob...

View Answer

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

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

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

A) True
B) False

Correct Answer

verifed

verified

The syntax for the UNION query is .


A) query + query
B) UNION (query, query)
C) UNION: query query
D) query UNION query

E) A) and B)
F) A) and C)

Correct Answer

verifed

verified

A(n) is a block of code containing standard SQL statements and procedural extensions that is stored and executed at the DBMS server.


A) PSM
B) PLS
C) SQL Statement
D) PMR

E) A) and B)
F) All of the above

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

E) B) and D)
F) A) and B)

Correct Answer

verifed

verified

The statement combines the output of two SELECT queries.

Correct Answer

verifed

verified

Showing 81 - 100 of 109

Related Exams

Show Answer