Answered step by step
Verified Expert Solution
Question
1 Approved Answer
give the screenshot of these code from the SQL 1 - List the Names and Jobs of all employees whose Manager is employee number 7
give the screenshot of these code from the SQL
List the Names and Jobs of all employees whose Manager is employee number
Code:
SELECT eEname AS "Employee Name", eJob AS "Job"
FROM EMPLOYEES e
WHERE eMGR ;
List the details of all employees hired in use LIKE in the query
Code:
SELECT employeeid lastname, hiredate
FROM employees
WHERE hiredate LIKE ;
Produce a list of all employees whose job titles have ES in them, showing empno,
ename, job
Code:
SELECT empno, ename, job
FROM employees
WHERE job LIKE ES;
List the employees whose names either start with A or end with S
Code:
SELECT employeename
FROM employees
WHERE employeename LIKE A OR employeename LIKE S
ORDER BY employeename;
List the department name and city of all departments that have the letter in their
department's name.
Code:
SELECT departmentname, city
FROM departments d
JOIN locations ON dlocationid llocationid
WHERE departmentname LIKE E;
Produce a list of all employees who are either Analysts, Managers or Clerks Use IN in
the query
Code:
SELECT empno, ename, job
FROM employees
WHERE job IN ANALYST 'MANAGER', 'CLERK';
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