Filters
Question type

Study Flashcards

Explain the different basic types of join operations. What are they and how do they work?

Correct Answer

verifed

verified

Join operations can be classified as inn...

View Answer

MySQL allows multiple triggering conditions per trigger.

Correct Answer

verifed

verified

UNION, INTERSECT, and MINUS work properly only if relations are intersect-compatible, which means that the names of the relation attributes and their data types must be different.

Correct Answer

verifed

verified

Describe the important features and applications of SQL functions

Correct Answer

verifed

verified

SQL functions are very useful tools. Fun...

View Answer

Oracle uses the function to extract the various parts of a date.

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

is a cursor attribute that returns True if the last FETCH returned a row, and FALSE if not.


A) %ROWCOUNT
B) %NOTFOUND
C) %FOUND
D) %ISOPEN

Correct Answer

verifed

verified

The syntax for a left outer join is .


A) SELECT column-list FROM table1 OUTER JOIN table2 LEFT WHERE join-condition
B) SELECT column-list FROM table1 LEFT [OUTER] JOIN table2 ON join-condition
C) SELECT column-list WHERE LEFT table1 = table 2
D) SELECT column-list FROM table1 LEFT table2 [JOIN] WHERE join-condition

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

The Oracle string concatenation function is .


A) CONCAT
B) +
C) ||
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.


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

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

The Oracle equivalent to an MS Access AutoNumber is a(n) .


A) auto-number
B) sequence
C) TO_NUMBER function
D) trigger

Correct Answer

verifed

verified

The determines the common attribute or attributes by looking for identically named attributes and compatible data types.

Correct Answer

verifed

verified

The NEXT command for a cursor is used to retrieve a row from the cursor and place it in the respective PL/SQL variables.

Correct Answer

verifed

verified

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


A) NVL
B) TO_CHAR
C) DECODE
D) CONVERT

Correct Answer

verifed

verified

The clause is used to restrict the output of a GROUP BY query by applying a conditional criteria to the grouped rows.

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

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


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

Correct Answer

verifed

verified

Oracle recommends for creating audit logs.


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

Correct Answer

verifed

verified

Showing 41 - 60 of 109

Related Exams

Show Answer