10 pts.
 Oracle
select employee_id, last_name sal x 12 annual salary from employees;

Software/Hardware used:
sqlplus
ASKED: August 29, 2012  4:16 PM
UPDATED: August 29, 2012  5:13 PM

Answer Wiki:
 
Last Wiki Answer Submitted:  August 29, 2012  9:52 pm  by  philpl1jb   44,180 pts.
All Answer Wiki Contributors:  philpl1jb   44,180 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

and your question is??????

 7,185 pts.

 

select employee_id, last_name sal x 12 “annual salary” from employees
  or 
select employee_id, last_name sal x 12 as “annual salary” from employees
 
  Needs ” around column name if it’s more than one word.  In the future please ask a question.

 44,180 pts.

 

select employee_id, last_name sal * 12 “annual salary” from employees
 
Multiply with an X .. no multiply with an *.

 44,180 pts.

 

Wow there is a comma missing between last_name and Sal. 
That’s three errors.  Don’t expect this much help on future homework. 
 
select employee_id, last_name, sal * 12 “annual salary” from employees

 44,180 pts.

 

SELECT EMPLOYEE_ID ,LAST_NAME,SAL*12 AS “ANNUAL_SALARY”
FROM EMPLOYEES;

 80 pts.