I\'ve been getting this error when doing what I thought to be one of the simplest possible queries! I see other people have run into issues here too, and I\'ve looked throug
You want:
SELECT Count(id), [Name] FROM groupbytest GROUP BY [Name]
GROUP BY 'Name' tries to group on the literal string 'Name', not the column Name.
GROUP BY 'Name'
Name
Name also may be a reserved word, hence the brackets around it, although you're better off not calling the column Name.