write SQL statement to search for employees who is the manager of the department specified by the cboDept

Principles of Information Systems (MindTap Course List)
13th Edition
ISBN:9781305971776
Author:Ralph Stair, George Reynolds
Publisher:Ralph Stair, George Reynolds
Chapter5: Database Systems And Big Data
Section: Chapter Questions
Problem 7SAT
icon
Related questions
Question

write SQL statement to search for employees who is the
manager of the department specified by the cboDept

Search Employees
txt EN ame
cboDName
It Hire Date
Name:
Hired Before:
Thursday. March
11, 2021
Department:
ACCOUNTING
Find
Delete
Update
EMPNO
ENAME
JOB
MGR
HIREDATE
SAL
COMM
DA
Delete
Update 7839
KING
PRESIDENT
11/17/1981
5803.00
10
Delete
Update 7566
JONES
MANAGER
7839
4/2/1981
3717.25
20
Delete
Update 7902
FORD
ANALYST
7566
12/3/1981
3743.00
20
Delete
Update 7369
SMITH
CLERK
7902
12/17/1980
1477.00
20
Delete
Update 7698
BLAKE
MANAGER
7839
5/1/1981
3588.50
30
Delete
Update 7499
ALLEN
SALESMAN
7698
2/20/1981
2301.00
300.00
30
Delete
Update 7521
WARD
SALESMAN
7698
2/22/1981
1940.50
500.00
30
Delete
Update 7654
MARTIN
SALESMAN
7698
9/28/1981
1940.50
1400.00
30
Delete
Update 7782
CLARK
MANAGER
7839
6/9/1981
3176.50
10
New Employee
Exit
Transcribed Image Text:Search Employees txt EN ame cboDName It Hire Date Name: Hired Before: Thursday. March 11, 2021 Department: ACCOUNTING Find Delete Update EMPNO ENAME JOB MGR HIREDATE SAL COMM DA Delete Update 7839 KING PRESIDENT 11/17/1981 5803.00 10 Delete Update 7566 JONES MANAGER 7839 4/2/1981 3717.25 20 Delete Update 7902 FORD ANALYST 7566 12/3/1981 3743.00 20 Delete Update 7369 SMITH CLERK 7902 12/17/1980 1477.00 20 Delete Update 7698 BLAKE MANAGER 7839 5/1/1981 3588.50 30 Delete Update 7499 ALLEN SALESMAN 7698 2/20/1981 2301.00 300.00 30 Delete Update 7521 WARD SALESMAN 7698 2/22/1981 1940.50 500.00 30 Delete Update 7654 MARTIN SALESMAN 7698 9/28/1981 1940.50 1400.00 30 Delete Update 7782 CLARK MANAGER 7839 6/9/1981 3176.50 10 New Employee Exit
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Single Table
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Principles of Information Systems (MindTap Course…
Principles of Information Systems (MindTap Course…
Computer Science
ISBN:
9781305971776
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
Enhanced Discovering Computers 2017 (Shelly Cashm…
Enhanced Discovering Computers 2017 (Shelly Cashm…
Computer Science
ISBN:
9781305657458
Author:
Misty E. Vermaat, Susan L. Sebok, Steven M. Freund, Mark Frydenberg, Jennifer T. Campbell
Publisher:
Cengage Learning