I have a table with following columns:
ID - int Time - DateTime Message - nvarchar(max)
I\'d like to select distinct messages, number of occu