Answered step by step
Verified Expert Solution
Question
1 Approved Answer
6 . Write the SQL statement to create a report with employee employee ids, last names, job id , phone numbers, and salary for all
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 $ AND their job id is ITPROG.
ALSO WRITE DOWN HOW MANY ROWS ARE DISPLAYEDOUTPUT AS A RESULT OF YOUR SQL STATEMENT Perform an SQL query that displays the first names, last names, job ids, and salaries of all employees that have the jobid of SAREP and also have a salary that is greater than $ Make sure your display is sorted by ordered by firstname in ascending order.
Create a report that displays the first names, last names, emails, department ids, and salaries of all employees that work in Department eg they have departmentid of
Sort your displayoutput by salary in descending order. Write the SQL statement that will outputdisplay last names, job ids, and salaries for all employees that make at least $ and have a job id of SHCLERK Showroom Clerks or STCLERK Store Clerks
Your output will be eight different employees. Initially we will work just with the HREMPLOYEES table.
HREMPLOYEES
employeeid
firstname
lastname
email
phonenumber
hiredate
jobid
salary
commissionpct
managerid
departmentid
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