• 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
icon
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
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
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Fundamentals of Datawarehouse
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
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning