QUESTION POSED ON: 21 December 2007
I have two tables, projects and allocation. The projects table has
projectid, projectname, and customerid. The allocation table looks like this:
projectid onsite_offshre associate_id
100809493 on 757845
478463443 of 786534
855787555 579485
573457545 on 785456
I have to count the number of associates who are onsite or offshore, with respect to the projectid equal to the projects table to a particular customerid. Can you give me the query for this?
|