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

E5.2Write the SQL queries that accomplish the following tasks in the HAFH Realty Company Property Management Database:E5.2aDisplay the SMemberID and SMemberName for all staff members.E5.2bDisplay the CCID, CCName, and CCIndustry for all corporate clients.E5.2cDisplay the BuildingID, BNoOfFloors, and the managers MFName and MLName for all buildings.E5.2dDisplay the MFName, MLName, MSalary, MB-date, and number of buildings that the manager manages for all managers with a salary less than $55,000.E5.2eDisplay the BuildingID and AptNo for all apartments leased by the corporate client WindyCT.E5.2fDisplay the InsID and InsName for all inspectors that have any inspections scheduled after 1-JAN-2014. Do not display the same information more than once.E5.2gDisplay 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.E5.2hDisplay 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.E5.2iDisplay the BuildingID, AptNo, and ANoOfBed-rooms 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 blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!