create table t (name nvarchar(100),tools nvarchar(100))
insert into t
select '张三' , '工具' union all
select '张三' , '工具' union all
select '李四' , '工具1' union all
select '李四' , '工具2' union all
select '张三' , '工具2' union all
select '李四' , '工具1'
select name,tools from t group by name,tools
insert into t
select '张三' , '工具' union all
select '张三' , '工具' union all
select '李四' , '工具1' union all
select '李四' , '工具2' union all
select '张三' , '工具2' union all
select '李四' , '工具1'
select name,tools from t group by name,tools
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货