Re: Sql query help
Peter,
Your amazing that's great, that works. I didn't put in the query I should have copied which also includes another table named leader. Is this just as easy to add a further statement or coma after the join? This is what it should have looked like DOH I'm sorry.
SELECT
Company_id.Company_name,
COUNT(child.Counting) AS `COUNT(Counting)`,
COUNT(leader1.Counting) AS `COUNT(Counting)1`
FROM company_id
INNER JOIN child ON company_id.Company_name = child.company
INNER JOIN leader1 ON company_id.Company_name = leader1.company
GROUP BY company_id.Company_name
Subject
Written By
Posted
Re: Sql query help
August 17, 2016 09:19AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.