sql 語句拔出成果為select和值混雜示例。本站提示廣大學習愛好者:(sql 語句拔出成果為select和值混雜示例)文章只能為提供參考,不一定能成為您想要的結果。以下是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;