Question: 6 . Write the SQL statement to create a report with employee employee ids, last names, job id , phone numbers, and salary for all

6. Write the SQL statement to create a report with employee employee ids, last names, job id, phone numbers, and salary for all employees who make at least $8,000 AND their job id is IT_PROG.
ALSO WRITE DOWN HOW MANY ROWS ARE DISPLAYED/OUTPUT AS A RESULT OF YOUR SQL STATEMENT 8. Perform an SQL query that displays the first names, last names, job ids, and salaries of all employees that have the job_id of SA_REP and also have a salary that is greater than $10000. Make sure your display is sorted by (ordered by) first_name in ascending order.
9. Create a report that displays the first names, last names, e-mails, department ids, and salaries of all employees that work in Department 50(e.g. they have department_id of 50).
Sort your display/output by salary in descending order. 10. Write the SQL statement that will output/display last names, job ids, and salaries for all employees that make at least $3500 and have a job id of SH_CLERK (Showroom Clerks) or ST_CLERK (Store Clerks).
Your output will be eight (8) different employees. Initially we will work just with the HR.EMPLOYEES table.
HR.EMPLOYEES
employee_id
first_name
last_name
email
phone_number
hire_date
job_id
salary
commission_pct
manager_id
department_id
 6. Write the SQL statement to create a report with employee

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!