I\'m trying to go a query search on a table and return a count of rows that end in the same character. For example Cd312a, fdhEA and 42dA would be grouped together under \'A\'
Before
SELECT RIGHT(_Name,1) as Type, Count(Type) as Count
FROM Tbl_Table
After
SELECT RIGHT(_Name,1) as Type, Count(*) as Count
FROM Tbl_Table
Group by RIGHT(_Name,1)
Order by RIGHT(_Name,1)
Edit
Removed "Type" from the Count function to address the "Unknown column 'Type' in 'field list'" problem.