insert into table1(code) values('select cst,dx,fd from table2 where cst = ''ff''')