A表的结构如下:qm     q       p
1     1.2     1.3
1     1.4     1.5
1     1.6     1.7
现在我想让他变成这样qm     a    b     c    d    e    f
1     1.2  1.3   1.4  1.5  1.6  1.7
xiexie^_^

解决方案 »

  1.   

    q 只是其中的一组qm    p   q   
    1     2   3
    1     4   5
    1     6   7
    2     1   2
    2     3   4
    2     5   6
    3     2   3
    3     4   5
    3     6   7qm   a   b   c   d   e   f
    1    2   3   4   5   6   7
    2    1   2   3   4   5   6
    3    2   3   4   5   6   7
      

  2.   

    http://topic.csdn.net/u/20081007/13/07E5EBAA-F51A-4CB5-893D-0AA1894ADF56.html
      

  3.   

    http://topic.csdn.net/u/20081014/13/a7c93442-406e-4057-86ca-1116504d4e4a.html