Question: single table queries Instruction: Include screenshot of your code and output of each question Refer to HR schema to answer the questions 1. Write SQL

single table queries
Instruction: Include screenshot of your code and output of each question Refer to HR schema to answer the questions 1. Write SQL query that displays the last name and salary of employees earning more than $12,000. 2. Write SQL query that displays the last name and department number for employee number 176. 3. Write SQL query to display the last name and salary for all employees whose salary is not in the range $5,000 through $12,000. 4. Write SQL query to display the last name, job ID, and hire date for employees with the last names of Matos and Taylor. Order the query in ascending order by hire date. 5. Display the last name and department ID of all employees in departments 20 or 50 in ascending alphabetical order by name. 6. Write a query that displays the last names of all employees who have both an "a" and an "e" in their last name
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
