Filters
Question type

Study Flashcards

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

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

The ____ query combines rows from two queries and excludes duplicates.


A) UNION
B) UNION ALL
C) INTERSECT
D) MINUS

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

To test a trigger, you should use the EXECUTE TRIGGER command.

A) True
B) False

Correct Answer

verifed

verified

Oracle recommends ____ for creating audit logs.


A) triggers
B) stored procedures
C) stored functions
D) tables

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

Correct Answer

verifed

verified

The ____________________ statement in SQL combines rows from two queries and returns only the rows that appear in the first set but not in the second.

Correct Answer

verifed

verified

When using a(n) ____ join, only rows that meet the given criteria are returned.


A) full
B) inner
C) outer
D) set

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

Correct Answer

verifed

verified

The Oracle ____ function returns the current date.


A) DATE
B) SYSDATE
C) CURRENT_DATE
D) TO_DATE

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

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) B) and D)
F) B) and C)

Correct Answer

verifed

verified

The ____ pseudo-column is used to select the next value from a sequence.


A) CURRVAL
B) NEXTVAL
C) NEXT
D) GET_NEXT

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

Correct Answer

verifed

verified

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


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

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

Correct Answer

verifed

verified

The ____ data type is compatible with NUMBER.


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

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

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) C) and D)
F) A) and D)

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

The ____ statement in SQL combines rows from two queries and returns only the rows that appear in the first set but not in the second.


A) UNION
B) UNION ALL
C) INTERSECT
D) MINUS

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

Correct Answer

verifed

verified

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


A) 0
B) 9
C) $
D) #

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

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) B) and D)
F) A) and B)

Correct Answer

verifed

verified

Triggers can only be used to update table values.

A) True
B) False

Correct Answer

verifed

verified

A(n) ____ join returns not only the rows matching the join condition (that is, rows with matching values in the common columns) but also the rows with unmatched values.


A) outer
B) inner
C) equi-
D) cross

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

Correct Answer

verifed

verified

Showing 61 - 80 of 100

Related Exams

Show Answer