日期:2014-05-17  浏览次数:20782 次

关于行转列 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