Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.tools -> Re: Tricky SQL
Guys I would be careful answering this question. It sounds like a college, intro to RDBS/SQL question and we may be doing someone's homework for them. If they had started the code and got errors I would help but on something that seems so much like textbook I don't think I want to do their homework for them. When will they learn it on there own?
Tony
pmcadam_at_my-deja.com wrote:
> 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:53:46 CST