I think group by clause should have Person.last_name, Person.first_name and in select clause you should take out distinct i-e count(person.ssn).
SELECT
Person.last_name, Person.first_name,
count (person.ssn)
FROM
Qdb.dbo.Person Person,
Qdb.dbo.ReceivableAccount...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.