FROM EMP
WHERE DEPARTMENT_ID = NULL;
What is true about this SQL statement ?
A. The SQL statement displays the desired results.
B. The column in the WHERE clause should be changed to display the desired results.
C. The operator in the WHERE clause should be changed to display the desired results.
D. The WHERE clause should be changed to use an outer join to display the desired results.
Answer: C
Q: 23 Which two statements about sequences are true? (Choose two.)
A. You use a NEXTVAL pseudo column to look at the next possible value that would be generated from a
sequence, without actually retrieving the value.
B. You use a CURRVAL pseudo column to look at the current value just generated from a sequence, without
affecting the further values to be generated from the sequence.
C. You use a NEXTVAL pseudo column to obtain the next possible value from a sequence by actually
retrieving the value from the sequence.
D. You use a CURRVAL pseudo column to generate a value from a sequence that would be used for a
specified database column.
E. If a sequence starting from a value 100 and incremented by 1 is used by more than one application, then all
of these applications could have a value of 105 assigned to their column whose value is being generated by the
sequence.
F. You use a REUSE clause when creating a sequence to restart the sequence once it generates the maximum
value defined for the sequence.
Answer: B, C
Q: 24 What is true of using group functions on columns that contain NULL
values?
A. Group functions on columns ignore NULL values.
B. Group functions on columns returning dates include NULL values.
C. Group functions on columns returning numbers include NULL values.
D. Group functions on columns cannot be accurately used on columns that contain NULL values.
E. Group functions on columns include NULL values in calculations if you use the keyword INC_NULLS.
Answer: A
www.CertificationKing.com
- 18 -