怎么插入多条记录

解决方案 »

  1.   

    insert into tablename (a1,b1,c1)
    select a1,b1,c1 from tablename2 where ………………
      

  2.   

    没有tablename2  只有tablename 怎么办!
      

  3.   

    insert into tablename (a1,b1,c1)
    select a1,b1,c1 union
    select a1,b1,c1 union
    select a1,b1,c1 union
    select a1,b1,c1 union
    select a1,b1,c1 union
    select a1,b1,c1 union
    select a1,b1,c1 ..............
      

  4.   

    insert into tablename (a1,b1,c1)
    select a1,b1,c1 union
    select a1,b1,c1 union
    select a1,b1,c1 union
    select a1,b1,c1 union
    select a1,b1,c1 union
    select a1,b1,c1 union
    select a1,b1,c1 ..............
    能不能写个例子呢~谢谢