当前位置: 代码迷 >> Oracle开发 >> 关于行转列 oracle的sql语句 很着急多谢
  详细解决方案

关于行转列 oracle的sql语句 很着急多谢

热度:84   发布时间:2016-04-24 07:55:39.0
关于行转列 oracle的sql语句 很着急!!!!谢谢!
table1
personcode           personame
1                               张三
2                               李四

table2
personcode         chyear
1                           2006年
1                           2007年
2                           2005年
2                           2006年

结果用sql   语言   :
personname         chyear
张三                     2006   年,2007年
李四                     2005   年,2006年


------解决方案--------------------
http://community.csdn.net/Expert/topic/5037/5037398.xml?temp=.2811853
  相关解决方案