Calculate a bonus depending on job id using a case expression. Display the employee id, last name, job id, department id, salary, and the bonus amount • If job id is AD_VP, the bonus amount will be Salary * .1555 • If job id is IT_PROG, the bonus amount will be Salary * .1050 • For all other job roles, the bonus amount will be 50.00 dollars. Name the column bonus amount and round the values to a whole number (0 decimal places).

Oracle 12c: SQL
3rd Edition
ISBN:9781305251038
Author:Joan Casteel
Publisher:Joan Casteel
Chapter10: Selected Single-row Functions
Section: Chapter Questions
Problem 8HOA
icon
Related questions
icon
Concept explainers
Question

Calculate a bonus depending on job id using a case expression. Display the employee id, last name, job id, department id, salary, and the bonus amount • If job id is AD_VP, the bonus amount will be Salary * .1555 • If job id is IT_PROG, the bonus amount will be Salary * .1050 • For all other job roles, the bonus amount will be 50.00 dollars. Name the column bonus amount and round the values to a whole number (0 decimal places). 

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Control Structure
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Oracle 12c: SQL
Oracle 12c: SQL
Computer Science
ISBN:
9781305251038
Author:
Joan Casteel
Publisher:
Cengage Learning
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
CMPTR
CMPTR
Computer Science
ISBN:
9781337681872
Author:
PINARD
Publisher:
Cengage