select i.Title ,datepart(year,i.Time) ,count(*) as cnt from [Info] i group by i.Title ,datepart(year,i.Time)
<pre>select i.Title ,datepart(year,i.Time) ,count(*) as cnt from [Info] i group by i.Title ,datepart(year,i.Time)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)