表1  
shortname  id   c2
a          1    sadf
a          3    daf
b          5    dfa
表2
id   type   c2
2    gg
3    ff    
你想得到什么结果?