• Find all staff fname and direct supervisor's fname. MariaDB [dreamhome]> select * from Staff1; | staffNo | FName | 1Name | position | sex | SA9 | Mary | Howe | Assistant IF | SG14 | SG37 | SG5 | David | Ford | Supervisor | M Ann | Beech | Assistant IF | Susan | Brand Manager IF | John White Manager IM | F | SL21 | SL41 | Julie | Lee | Assistant +- | staff supervisor I | Mary | Susan | David | Susan | Ann | Susan | Susan | John | Julie | John Output salary | branchNo | superno | | SG5 | SG5 | SG5 | SL21 | DOB | | 1970-02-19 | 9000.00 | | 1958-03-24 | 18000.00 | | 1960-11-10 | | 1940-06-03 | | 1945-10-01 | | 1965-06-13 | B007 B003 12000.00 | B003 24000.00 | B003 30000.00 | B005 9000.00 | B005 | NULL | SL21 1
• Find all staff fname and direct supervisor's fname. MariaDB [dreamhome]> select * from Staff1; | staffNo | FName | 1Name | position | sex | SA9 | Mary | Howe | Assistant IF | SG14 | SG37 | SG5 | David | Ford | Supervisor | M Ann | Beech | Assistant IF | Susan | Brand Manager IF | John White Manager IM | F | SL21 | SL41 | Julie | Lee | Assistant +- | staff supervisor I | Mary | Susan | David | Susan | Ann | Susan | Susan | John | Julie | John Output salary | branchNo | superno | | SG5 | SG5 | SG5 | SL21 | DOB | | 1970-02-19 | 9000.00 | | 1958-03-24 | 18000.00 | | 1960-11-10 | | 1940-06-03 | | 1945-10-01 | | 1965-06-13 | B007 B003 12000.00 | B003 24000.00 | B003 30000.00 | B005 9000.00 | B005 | NULL | SL21 1
Programming with Microsoft Visual Basic 2017
8th Edition
ISBN:9781337102124
Author:Diane Zak
Publisher:Diane Zak
Chapter11: Sql Server Databases
Section: Chapter Questions
Problem 6E
Related questions
Question
![MariaDB [dreamhome]> select * from Staff1;
| staffNo | FName | 1Name | position | sex
| Mary | Howe |
| David | Ford |
| Ann | Beech |
Susan | Brand |
Assistant | F
Supervisor | M
Assistant | F
Manager | F
|
| John | White | Manager
| M
| Julie | Lee | Assistant
| F
| SA9
| SG14
| SG37
Find all staff fname and direct supervisor's fname.
| SG5
| SL21
| SL41
|
staff | supervisor |
| Mary | Susan
| David | Susan
| Ann
| Susan
| Susan | John
| Julie | John
Output
salary | branchNo | superno |
| SG5
| SG5
| SG5
| DOB
|
| 1970-02-19 | 9000.00 | B007
| 1958-03-24 | 18000.00 | B003
| 1960-11-10 | 12000.00 | B003
1940-06-03 | 24000.00 | B003
| 1945-10-01 | 30000.00 | B005
| 1965-06-13 | 9000.00 | B005
SL21
| NULL
| SL21](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F2ec814c7-90f3-4435-9bb8-fcbab3f733ac%2Fffad15b3-21af-4dd0-827a-afea523ede46%2F79lksef_processed.png&w=3840&q=75)
Transcribed Image Text:MariaDB [dreamhome]> select * from Staff1;
| staffNo | FName | 1Name | position | sex
| Mary | Howe |
| David | Ford |
| Ann | Beech |
Susan | Brand |
Assistant | F
Supervisor | M
Assistant | F
Manager | F
|
| John | White | Manager
| M
| Julie | Lee | Assistant
| F
| SA9
| SG14
| SG37
Find all staff fname and direct supervisor's fname.
| SG5
| SL21
| SL41
|
staff | supervisor |
| Mary | Susan
| David | Susan
| Ann
| Susan
| Susan | John
| Julie | John
Output
salary | branchNo | superno |
| SG5
| SG5
| SG5
| DOB
|
| 1970-02-19 | 9000.00 | B007
| 1958-03-24 | 18000.00 | B003
| 1960-11-10 | 12000.00 | B003
1940-06-03 | 24000.00 | B003
| 1945-10-01 | 30000.00 | B005
| 1965-06-13 | 9000.00 | B005
SL21
| NULL
| SL21
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Knowledge Booster
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.Recommended textbooks for you
![Programming with Microsoft Visual Basic 2017](https://www.bartleby.com/isbn_cover_images/9781337102124/9781337102124_smallCoverImage.gif)
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
![Programming with Microsoft Visual Basic 2017](https://www.bartleby.com/isbn_cover_images/9781337102124/9781337102124_smallCoverImage.gif)
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning