Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Tricky SQL
OK all you SQL Gods out there. Can you answer this one.
table employee:
employeeid(PK), name, companyid(FK)
table company:
companyid(PK) , name
table department:
departmentid(PK) , name, companyid(FK)
· Write a query to list all the department names from all companies that (the companies) have more than 25 employees and that (the company) have a name that starts with an 'A'.
Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Wed Nov 22 2000 - 12:12:09 CST