with tst as(
select '张三' as name,'1' as type,'Z-5678' as phone from dual
union all
select '张三' as name,'2' as type,'Z-7890' as phone from dual
union all
select '张三' as name,'3' as type,'Z-1001' as phone from dual
union all
select '李四' as name,'1' as type,'L-1237' as phone from dual
union all
select '李四' as name,'3' as type,'L-5600' as phone from dual
union all
select '马五' as name,'1' as type,'M-1378' as phone from dual
union all
select '马五' as name,'2' as type,'M-3948' as phone from dual
union all
select '王二' as name,'2' as type,'W-1245' as phone from dual
)