Filters
Question type

Study Flashcards

What are the four different types of results that can be returned from a subquery?

Correct Answer

verifed

verified

A subquery can return one or more values...

View Answer

In Oracle, the function converts a date to a character string.


A) CONVERT()
B) TO_DATE
C) TO_CHAR()
D) TO_STRING()

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

Correct Answer

verifed

verified

An inequality condition is also known as a natural join and an equality condition is also called a theta join.

A) True
B) False

Correct Answer

verifed

verified

False

A trigger is executed as part of the transaction that triggered it.

A) True
B) False

Correct Answer

verifed

verified

The PL/SQL block starts with the section.


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

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

Correct Answer

verifed

verified

In the context of SELECT subquery types, a is returned when an UPDATE subquery is used.


A) NULL
B) single value
C) list of values
D) virtual table

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

Correct Answer

verifed

verified

The ANSI standard defines type(s) of outer join(s)


A) one
B) two
C) three
D) four

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

Correct Answer

verifed

verified

A sequence is not associated with a table and can be dropped from a database with a DROP SEQUENCE command.

A) True
B) False

Correct Answer

verifed

verified

In Oracle, make(s) it possible to merge SQL and traditional programming constructs, such as variables, conditional processing (IF-THEN-ELSE) , basic loops (FOR and WHILE loops,) and error trapping.


A) cursor-style processing
B) stored procedures
C) embedded SQL
D) Procedural Language SQL

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

Correct Answer

verifed

verified

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


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

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

Correct Answer

verifed

verified

The syntax of the MINUS statement in Oracle is .

Correct Answer

verifed

verified

query MINUS query

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


A) cross
B) natural
C) equi-
D) full

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

Correct Answer

verifed

verified

A persistent stored module is stored and executed on the database client machine.

A) True
B) False

Correct Answer

verifed

verified

False

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

The use of the operator allows you to compare a single value with a list of values returned by the first subquery (sqA) using a comparison operator other than EQUALS.

Correct Answer

verifed

verified

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


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

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

Correct Answer

verifed

verified

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


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

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

Correct Answer

verifed

verified

In a subquery, the query is executed first.


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

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

Correct Answer

verifed

verified

A row-level trigger is assumed if we omit the FOR EACH ROW keywords and a statement-level trigger required the use of the FOR EACH ROW keyword.

A) True
B) False

Correct Answer

verifed

verified

Showing 1 - 20 of 109

Related Exams

Show Answer