|
|
Authorized user can see question and answers. Please log in or sign up. 
|
#102. You attempt to create the salary table with this command: 1. CREATE TABLE salary 2 .(employee_idNUMBER(9) 3.CONSTRAINT salary_pk PRIMARY KEY, 4.1995_saIaryNUMBER(8 ,2), 5 .manager_nameVARCHAR2(25) 6.CONSTRAINT mgr_name_nn NOT NULL, 7 .$salary_96NUMBER(8 2));
Which two lines of this statement will return errors? (Choose two.)
Show comments for this question (0)
Add comments
Link to this question
|
|
#106. 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
|
|
#107. The EMPLOYEE table contains these columns: FIRST_NAME VARCHAR2(25)
COMMISSION NUMBER(3,2) Evaluate this SQL statement SELECT first_name, commission FROM employee WHERE commission = (SELECTcommission FROM employee WHEREUPPER(first_name) = ‘SCOTT’)
What would cause this statement to fail?
Show comments for this question (0)
Add comments
Link to this question
|
|
|
|
gen. 0.244
|
Server date 07:33 22-11-2008
|
Developed by Zip © 2006
|
|
 |
|
|