SQL查询一张表插入到另一张表
QAResultId为不允许为空的ID 在查询时用一个列代替 这仅限于一条记录
insert into QAResult (QAResultId,QAId,QAName,QAStructure,QAMemo,Version,DeleteFlg) select '1',QAId,QAName,QAStructure,QAMemo,Version,DeleteFlg from QA
QAResultId为不允许为空的ID 在查询时用一个列代替 这仅限于一条记录
insert into QAResult (QAResultId,QAId,QAName,QAStructure,QAMemo,Version,DeleteFlg) select '1',QAId,QAName,QAStructure,QAMemo,Version,DeleteFlg from QA