you should either use MAX() or MIN() aggregate functions or add the notes field too to GROUP BY according to your requirement. For complete solurtion,please post your requirement with sample data,reqd. o/p and table structuresSELECT a_1.fullname,MAX(a_1.NOTES),MAX(a_1.createdon) AS DateFROM FilteredAnnotation AS a INNER JOIN(SELECT MAX(filteredannotation.createdon) as mel,FilteredAnnotation.createdon, FilteredContact.fullname, FilteredAnnotation.objectid, FilteredAnnotation.objecttypecode, CAST(FilteredAnnotation.notetext AS VARCHAR(1024)) AS NOTESFROM FilteredAnnotation INNER JOINFilteredContact ON FilteredContact.contactid = FilteredAnnotation.objectidWHERE (FilteredContact.new_ratingname IN ('cold', 'cool'))GROUP BY FilteredAnnotation.createdon, FilteredContact.fullname, FilteredAnnotation.objectid, FilteredAnnotation.objecttypecode,CAST(FilteredAnnotation.notetext AS VARCHAR(1024)) ) AS a_1 ON a.objectid = a_1.objectidWHERE (a_1.objecttypecode = '2')GROUP BY a_1.fullnameorSELECT a_1.fullname,a_1.NOTES,MAX(a_1.NOTES) MAX(a_1.createdon) AS DateFROM FilteredAnnotation AS a INNER JOIN(SELECT MAX(filteredannotation.createdon) as mel,FilteredAnnotation.createdon, FilteredContact.fullname, FilteredAnnotation.objectid, FilteredAnnotation.objecttypecode, CAST(FilteredAnnotation.notetext AS VARCHAR(1024)) AS NOTESFROM FilteredAnnotation INNER JOINFilteredContact ON FilteredContact.contactid = FilteredAnnotation.objectidWHERE (FilteredContact.new_ratingname IN ('cold', 'cool'))GROUP BY FilteredAnnotation.createdon, FilteredContact.fullname, FilteredAnnotation.objectid, FilteredAnnotation.objecttypecode,CAST(FilteredAnnotation.notetext AS VARCHAR(1024)) ) AS a_1 ON a.objectid = a_1.objectidWHERE (a_1.objecttypecode = '2')GROUP BY a_1.fullname,a_1.NOTES