Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. listing staff first name, position and their manage first names and positions for all male staff. The output header needs to distinguish between staff

image text in transcribed

1. listing staff first name, position and their manage first names and positions for all male staff. The output header needs to distinguish between staff and manger. the answer should be like this

image text in transcribed

mysql> select from Staff: I staffNo | fName LName position sex DOB |SA9 Mary Howe Assistant F1970-02-19|9000,00 |B007 SG14 I salary |branchNo | managerNo | SG14 David | Ford Supervisor |M 1958-03-24| 18000.00 |B003 SG5 SG37 Ann Beech Assistant IF 1960-11-10 | 12000.00 |B003 SL21 SG5 Susan | Brand |Manager F1940-06-03 |24000.00 B003 SG14 | SL21 John | White I Manager M1945-10-01I 30000.00 | B005I XYZ1 | SL41 Julie | Lee Assistant IF I 1965-06-13 9000.00 B005 XYZi M 1970-01-01 40000.00 I B002 NULL | XYZ1 Huang Austin | CE0 7 rows in set 0.00 sec) staffName | staffPosition |managerName | managerPosition David SupervisorSusan John | Manager | Manager Huang CEO

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

New Trends In Databases And Information Systems Adbis 2019 Short Papers Workshops Bbigap Qauca Sembdm Simpda M2p Madeisd And Doctoral Consortium Bled Slovenia September 8 11 2019 Proceedings

Authors: Tatjana Welzer ,Johann Eder ,Vili Podgorelec ,Robert Wrembel ,Mirjana Ivanovic ,Johann Gamper ,Mikolaj Morzy ,Theodoros Tzouramanis ,Jerome Darmont

1st Edition

3030302776, 978-3030302771

More Books

Students also viewed these Databases questions