I\'m trying to perform a group by action on an aliased column (example below) but can\'t determine the proper syntax.
SELECT LastName + \', \'
You pass the expression you want to group by rather than the alias
SELECT LastName + ', ' + FirstName AS 'FullName' FROM customers GROUP BY LastName + ', ' + FirstName