摘要: --测试数据 declare @tab table(id varchar(3),class varchar(10),sums int) insert @tab select '001','计算机','65' union all select '002','计算机','75' union all select '001','美术','77' union all select '003','体育','54' 阅读全文
posted @ 2012-07-03 18:17 大智若简 阅读(155) 评论(0) 推荐(0)