select 'F1' F1,'F2' F2,'F3' F3,'F4' F4
union all
select 'F5' F5,'F6' F6,'F7' F7,'F8' F8

解决方案 »

  1.   

    select f1,f2,f3,f4 from table
    union all
    select f5,f6,f7,f8 from table??
      

  2.   

    select f1,f2,f3,f4 from table
    union all
    select f5,f6,f7,f8 from table??
      

  3.   

    select f1,f2,f3,f4 from table
    union all
    select f5,f6,f7,f8 from table??
      

  4.   

    select f1,f2,f3,f4 from table
    union all
    select f5,f6,f7,f8 from table
      

  5.   

    select F1,F2,F3,F4 from 你的表
    union all
    select F5,F6,F7,F8 from 你的表
      

  6.   

    select F1,F2,F3,F4 from 你的表
    union all
    select F5,F6,F7,F8 from 你的表
      

  7.   

    如何写语句直接把table1  f1  f2 f3 f4 f5 f6 f7 f8   直接 改成
    table2  f1  f2 f3 f4 
            f5 f6 f7 f8   
      

  8.   

    是要更改表结构么?
    先将 select F1,F2,F3,F4 from 你的表 union all select F5,F6,F7,F8 from 你的表
    取得的值写入临时表
    然后将你的表删除
    建你的新表
    将临时表的数据倒回
    完成
      

  9.   

    还有,
    insert 表 f1,f2,f3,f4 (select f5,f6,f7,f8 from 表);
    alter table 表 drop column f5,f6,f7,f8