Filters
Question type

Study Flashcards

Subqueries cannot be used in combinations with joins.

A) True
B) False

Correct Answer

verifed

verified

The syntax of the DECODE function starts with .

Correct Answer

verifed

verified

DECODE(e,x,y,d)

The following SQL statement uses a(n) . SELECT P_CODE,P_DESCRIPT,P_PRICE,V_NAME FROM PRODUCT,VENDOR WHERE PRODUCT.V_CODE = VENDOR.V_CODE;


A) set operator
B) natural join
C) "old­style" join
D) procedural statement

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

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

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

Correct Answer

verifed

verified

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


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

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

Correct Answer

verifed

verified

A

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

The function returns the current system date in MS Access.


A) TO_DATE()
B) SYSDATE()
C) DATE()
D) TODAY()

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

Correct Answer

verifed

verified

BEFORE means before the changes are made in memory but after the changes are permanently saved to disk.

A) True
B) False

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

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

Correct Answer

verifed

verified

When using the Oracle TO_DATE function,the code represents a three-letter month name.


A) MON
B) MM3
C) MONTH
D) MM

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

Correct Answer

verifed

verified

A

Automating business procedures and automatically maintaining data integrity and consistency are trivial in a modern business environment.

A) True
B) False

Correct Answer

verifed

verified

MySQL allows multiple triggering conditions per trigger.

A) True
B) False

Correct Answer

verifed

verified

functions extract a value of a given data type and convert it to the equivalent value in another data type.

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

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

Correct Answer

verifed

verified

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


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

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

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

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

Correct Answer

verifed

verified

In MS Access,a designer can use the data type to define a column in his table that will be automatically populated with unique numeric values.

Correct Answer

verifed

verified

A(n)view is a view that can be used to update attributes in the base table(s)that are used in the view.

Correct Answer

verifed

verified

Showing 1 - 20 of 95

Related Exams

Show Answer