|
|
Authorized user can see question and answers. Please log in or sign up. 
|
#141. The EMPLOYEE table contains these columns: LAST_NAME VARCHAR2(25)
FIRST_NAME VARCHAR2(25)
SALARY NUMBER(7,2) You need to display the names of employees that earn more than the average salary of all employees. Evaluate this SQL statement SELECT last_name. first_name FROMemployee WHEREsalary > AVG(salary);
Which change should you make to achieve the desired results?
Show comments for this question (0)
Add comments
Link to this question
|
|
#142. 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
|
|
#150. Click on the EXHIBIT button and examine the table instance chart for the patient table. You need to create the patient_id_seq sequence to be used with the patient table’s primary key column. The sequence should begin at 1000, have a maximum value of 999999999, never reuse any numbers, and increment by 1. Which statement would you use to complete this task?
Show comments for this question (0)
Add comments
Link to this question
|
|
|
|
gen. 0.086
|
Server date 11:39 08-01-2009
|
Developed by Zip © 2006
|
|
 |
|
|