Question

E5.2 (no queries). Write the SQL queries that accomplish the following tasks in the HAFH Realty Company Property Manage- ment
E5.2h Display the CCName of the client and the CCName of the client who referred him or her, for every client referred by a c


Chapter 5. SQL 161 INSPECTOR InsName 11 Jane No IV ANOOTBedrooms APARTMENT Building Apto 81 41 21 11 2 2 Ba 31 11 ce esting 2
INSERT INTO manager VALUES (M23, Austin, Lee, 30/Oct/1975, 50000, 5000, mull; INSERT INTO manager VALUES (M12, Bor
0 0
Add a comment Improve this question Transcribed image text
Answer #1

2a) SELECT * FROM STAFFMEMBER;

2b) SELECT CCID,CCName,CCIndustry,CCLocation,CCIDReferredBy FROM CORPCLIENT;

2c) SELECT BuildingID,BNoOfFloors FROM BUILDING UNION SELECT MFName,MLName FROM MANAGER;

2d) SELECT A.MFName,A.MLName,A.MSalary,A.MBdate,B.BNoOfFloors FROM MANAGER,BUILDING WHER A.ManagerID=B.ManagerID AND MSalary < 50000;

Add a comment
Know the answer?
Add Answer to:
E5.2 (no queries). Write the SQL queries that accomplish the following tasks in the HAFH Realty...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT