--The TotalCount field is the number of times the Address.ID occurs in the CONSTIT_ADDRESS table.
SELECT RECORDS.FULL_NAME, Address.ID As [Address.ID], Records.ID As [Record.ID], COUNT(*) TotalCount
FROM CONSTIT_ADDRESS, [ADDRESS], RECORDS
WHERE CONSTIT_ADDRESS.ADDRESS_ID = Address.ID AND CONSTIT_ADDRESS.CONSTIT_ID = RECORDS.ID AND NOT RECORDS.FULL_NAME IS NULL
GROUP BY RECORDS.FULL_NAME, Records.ID, Address.ID HAVING COUNT(*) > 1
ORDER BY COUNT(*) DESC
Disclaimer: We provide programming examples for illustration only, without warranty either expressed or implied, including, but not limited to, the implied warranties of merchantability and/or fitness for a particular purpose. This article assumes you are familiar with Structured Query Language and the tools used to create and modify SQL statements and Crystal Reports. Our Customer Support may help explain the functionality of a particular procedure, but we will not modify, or assist you with modifying, these examples to provide additional functionality.