Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 3145

Listing distinct values in a column and the no. of their occurrences

$
0
0
Hi all
This seemingly simple piece of code has thrown me - (and I've been working with TSQL a few years!!)

 I have an (NVarchar) column called 'Notes' . here's some sample data..

Attended - Monday Adult
Attended - Mond

Viewing all articles
Browse latest Browse all 3145

Trending Articles