Is there any way to group by all the columns of a table without specifying the column names? Like:
select * from table group by *
nope. are you trying to do some aggregation? if so, you could do something like this to get what you need
;with a as ( select sum(IntField) as Total from Table group by CharField ) select *, a.Total from Table t inner join a on t.Field=a.Field