sql 语句 插入结果为select 和值混合

String slctpsql="select id ,"+uid+","+ddd+","+score+",‘"+mark+"‘ ,"+markid+" ,"+exam.getId()+" from Test_Paper where testBaseId=(select id from Test_Base where baseTestId="+judgemap.get(i).getId()+" and baseTestType=1) and paperId="+paperbaseinfo.getId();
   String insertsql="insert into Test_Paper_Record (t_pid,userId,answer,score,mark,markerId,examid )"+slctpsql;
  

sql 语句 插入结果为select 和值混合,布布扣,bubuko.com

sql 语句 插入结果为select 和值混合

上一篇:【数据库】Oracle 11g使用命令导入导出表,导出结果集


下一篇:SQL Server字符串左匹配