Viewing post 1 (of 1 total)
Hope this will meet your requirement:
select log_ticket, count( distinct curr_group) from #log
group by log_ticket
Output of above query is same as you needed.
July 15, 2009 at 12:54 am
#1024829