|
|
Authorized user can see question and answers. Please log in or sign up. 
|
#121. The EMPLOYEE table contains these columns: LAST_NAME VARCHAR2(25)
FIRST_NAME VARCHAR2(25)
DEPT ID NUMBER(9) You need to display the names of employees that are not assigned to a department. Evaluate this SQL statement: SELECT last_name, first_name FROM employee WHEREdept_id = NULL;
Which change should you make to achieve the desired result?
Show comments for this question (0)
Add comments
Link to this question
|
|
#123. Evaluate this IF statement IF v_value> 100 THEN v_new_value = 2 * v_value; ELSIF v_value > 200 THEN v_new_value =3 * v_value; ELSIF v_value <300 THEN v_new_value =4 * v_value; ELSE v_new_value := 5 * v_value; END IF;
What would be assigned to V_NEW_VALUE if V_VALUE is 250?
Show comments for this question (0)
Add comments
Link to this question
|
|
#125. The structure of the DEPT table is as follows: Name Null Type
DEPTNO NOT NULL NUMBER(2)
DNAME VARCHAR2(14)
LOC VARCHAR2(13) Examine the code: DECLARE dept_rec dept%ROWTYPE; BEGIN SELECT * INTO dept_rec FROM dept WHERE deptno = 10; END;
Which PL/SQL statement displays the location of the selected department?
Show comments for this question (0)
Add comments
Link to this question
|
|
|
|
gen. 0.078
|
Server date 11:37 08-01-2009
|
Developed by Zip © 2006
|
|
 |
|
|