Need help with Oracle formula

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

Software/Hardware used:
sqlplus

Answer Wiki

Thanks. We'll let you know when a new response is added.

 

Discuss This Question: 5  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • BigKat
    and your question is??????
    8,350 pointsBadges:
    report
  • philpl1jb
    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.
    51,355 pointsBadges:
    report
  • philpl1jb
    select employee_id, last_name sal * 12 “annual salary” from employees   Multiply with an X .. no multiply with an *.
    51,355 pointsBadges:
    report
  • philpl1jb
    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
    51,355 pointsBadges:
    report
  • YOUSAFALIBS
    SELECT EMPLOYEE_ID ,LAST_NAME,SAL*12 AS "ANNUAL_SALARY" FROM EMPLOYEES;
    80 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following