SELECT Records.First_Name + ' ' + Records.Last_Name AS Constituent, ATTRIBUTETYPES.DESCRIPTION AS Category,
ConstituentAttributes.Text as Description, ConstituentAttributes.COMMENTS AS Comments

FROM ATTRIBUTETYPES
INNER JOIN ConstituentAttributes ON ATTRIBUTETYPES.ATTRIBUTETYPESID = ConstituentAttributes.ATTRIBUTETYPESID
INNER JOIN RECORDS ON ConstituentAttributes.PARENTID = RECORDS.ID

WHERE Records.Last_Name is not NULL

ORDER BY Records.Last_Name

Disclaimer: Blackbaud provides 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. Blackbaud 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.