INTERVIEW QUESTIONS ON SQL / PLSQL-- SET 2
1. From the following combinations of wildcard characters , choose those that are equivalent.
(A) %
(B) _%
(C) %_
(D) __
SELECT ROUND (45.926 , -1) FROM DUAL ;
(A) is illegal
(B) prints garbage
(C) prints 045.926
(D) prints 50
3. Which of the following must be enclosed in double qoutes?
(A)Dates
(B)Column Alias
(C)Strings
(D) All of these
SELECT 'Hi' FROM DUAL WHERE 1 != NULL;
outputs
(A) true
(B)Hi
(C)FALSE
(D) Nothing
(A) FALSE
(B)-1
(C) FALSE
(D) 10
No comments:
Post a Comment