Home Forums SQL Server 2008 T-SQL (SS2K8) use column in Group By, but Hide column from the results set RE: use column in Group By, but Hide column from the results set
siggemannen
SSCrazy
Points: 2436
More actions
September 20, 2012 at 6:26 am
#1540025
These kind of queries have real usage, for example if you want to preserve "duplicate rows" of Col1, Col2, which cannot be preserved if you only Group By Col1