insert tb(a,b,c,d) values('a','b','c',select d from tb where id=?)

解决方案 »

  1.   

    insert tb(a,b,c,d) select 'a','b','c',d from tb where id=?
      

  2.   

    insert into 动态信息 select 我的ID,(select 好友ID from 好友表 where ID=我的ID) as '好友ID',[Content],时间 
      

  3.   

    insert into 动态信息 select 我的ID,好友ID ,[Content],时间 from 好友表 where ID=我的ID