Filters
Question type

Study Flashcards

Triggers can only be used to update table values.

A) True
B) False

Correct Answer

verifed

verified

In Oracle,you can use the SQL*Plus command SHOW ERRORS to help you diagnose errors found in PL/SQL blocks.

A) True
B) False

Correct Answer

verifed

verified

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


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

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

Correct Answer

verifed

verified

What are SQL functions and when are they used? Provide a couple of examples of situations in which they are necessary.

Correct Answer

verifed

verified

SQL functions are very useful tools.You'...

View Answer

Stored procedures must have at least one argument.

A) True
B) False

Correct Answer

verifed

verified

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


A) IN
B) NOT IN
C) AND
D) UNION

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

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

PL/SQL blocks have a section used to declare variables.

A) True
B) False

Correct Answer

verifed

verified

What are the four different result types that can be returned from a subquery? For each type,explain what it is and when it is used.

Correct Answer

verifed

verified

One single value (one column and one row...

View Answer

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

A) True
B) False

Correct Answer

verifed

verified

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


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

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

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

One of the major advantages of stored procedures is that they can be used to encapsulate and represent business transactions.

A) True
B) False

Correct Answer

verifed

verified

Describe the characteristics of an Oracle sequence.

Correct Answer

verifed

verified

Oracle sequences are an independent obje...

View Answer

The IN subquery uses a(n)____________________ operator.

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

If you wish to create an inner join,but the two tables do not have a commonly named attribute,you can use a(n) ____ clause.


A) OF
B) USING
C) HAS
D) JOIN ON

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

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

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

A) True
B) False

Correct Answer

verifed

verified

Showing 81 - 100 of 100

Related Exams

Show Answer