I have two tables related by the column ID
I need to get all records from TABLEA and a count of related records for TABLE B IF ANY
This is what I have so far, but it only returns the records where there is a match on ID
select TableA.id,TableA.name, Count(TABLE B.id) as thisCount
from Table A, Table B
where Table A.id = TableB.id
Group by Table A.id
Can I do what I'm looking for??
Thanks
Keith