I have a Group By SQL statement I am trying to run against an Excel spreadsheet (via a VB.NET app). I want the query to return two records if it finds data like "Test" and "test". Instead, it's only returning one record. Suggestions?
Code:
SELECT [FieldName], Count([FieldName]) as DataCount
FROM [TheData]
GROUP BY [FieldName]
ORDER BY Count([FieldName])