SQL Server 2008: Count Number of Keys In Multiple Date Ranges
SQL Server 2008 again. I have a primary key pt_id and a datetime column order_dts for each id. I want to count the number of keys in each year from 1996-2008 and return eight results - a count for eac
问答
阅读(5)