Question: E 5 . 2 Write the SQL queries that accomplish the following tasks in the HAFH Realty Company Property Management Database:E 5 . 2 a
EWrite the SQL queries that accomplish the following tasks in the HAFH Realty Company Property Management Database:EaDisplay the SMemberID and SMemberName for all staff members.EbDisplay the CCID, CCName, and CCIndustry for all corporate clients.EcDisplay the BuildingID, BNoOfFloors, and the managers MFName and MLName for all buildings.EdDisplay the MFName, MLName, MSalary, MBdate, and number of buildings that the manager manages for all managers with a salary less than $EeDisplay the BuildingID and AptNo for all apartments leased by the corporate client WindyCT.EfDisplay the InsID and InsName for all inspectors that have any inspections scheduled after JAN Do not display the same information more than once.EgDisplay the SMemberID and SMemberName of staff members cleaning apartments rented by corporate clients whose corporate location is Chicago. Do not display the same information more than once.EhDisplay the CCName of the client and the CCName of the client who referred him or her, for every client referred by a client in the Music industry.EiDisplay the BuildingID, AptNo, and ANoOfBedrooms for all apartments that are not leased.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
