Answered step by step
Verified Expert Solution
Question
1 Approved Answer
(Consider table employees with the following colunms (EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL PHONE_NUMBER HIRE_DATE ,JOB_ID SALARY ,COMMISSION_PCT, MANAGER_ID , DEPARTMENT_ID) (Consider table jobs with the following
(Consider table employees with the following colunms (EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL PHONE_NUMBER HIRE_DATE ,JOB_ID SALARY ,COMMISSION_PCT, MANAGER_ID , DEPARTMENT_ID) (Consider table jobs with the following colunms JOB_ID JOB_TITLE,MIN_SALARY,MAX_SALARY) which query is the most appropriate to display employee id, first name and salary in hundreds for all employees whose job title is "Accountant"? * (2 Points) select employee_id, first_name, round(salary-2) from employees where job_id in (select job_id from jobs where lower(job_title) = 'Accountant'); select employee_id, first_name, round(salary-2) from employees where job_id in (select job_id from jobs where lower(job_title) = 'accountant'); select employee_id, first_name, round(salary-2) from employees where job_id = (select job_id from jobs where lower job_title) = 'Accountant'); slect employee_id, first_name, round(salary-2) from employees where job_id = (select job_id from jobs where lower(job_title) = 'accountant')
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started