select * from tablename where id=1
union select 要添加的信息列表

解决方案 »

  1.   

    select col from tablename where id=1 
    union all
    select 'value'
      

  2.   


    select col1,col2,col3 from tablename where id=1
    union select 'col1','col2','col3'
      

  3.   

    select * from tablename where id=1
    union all
    select ...
      

  4.   

    select * from tablename where id=1  union all
    select 1,2,3.... 
      

  5.   

    select * from tablename where id=1 
    union all
    select * from tablename2 where 条件 
      

  6.   


    select * from tablename where id=1 
    union all
    select '你想要添加的数据','',''...... 
    注意列数要相等。
      

  7.   

    得用union all来合并手动生成和检索出来的记录。