主题:求SQL语句
用户欠费资料表1: 用户欠费资料表2:
号码 200601 200602 200603 号码 200604 200605 200606
8880000 12.55 56.00 81.56 8880000 112.55 11.00 47.56
8880001 10.00 20.00 5.00 8880001 110.00 210.00 55.00
8880002 20.55 36.00 41.33 8880002 240.55 136.00 141.33
8880003 10.00 25.00 33.00
我想得到的结果是:
号码 200601 200602 200603 200604 200605 200606
8880000 12.55 56.00 81.56 112.55 11.00 47.56
8880001 10.00 20.00 5.00 110.00 210.00 55.00
8880002 20.55 36.00 41.33 240.55 136.00 141.33
8880003 0 0 0 10.00 25.00 33.00
请问,任何实现?
号码 200601 200602 200603 号码 200604 200605 200606
8880000 12.55 56.00 81.56 8880000 112.55 11.00 47.56
8880001 10.00 20.00 5.00 8880001 110.00 210.00 55.00
8880002 20.55 36.00 41.33 8880002 240.55 136.00 141.33
8880003 10.00 25.00 33.00
我想得到的结果是:
号码 200601 200602 200603 200604 200605 200606
8880000 12.55 56.00 81.56 112.55 11.00 47.56
8880001 10.00 20.00 5.00 110.00 210.00 55.00
8880002 20.55 36.00 41.33 240.55 136.00 141.33
8880003 0 0 0 10.00 25.00 33.00
请问,任何实现?