insert into A(ID,Name,Level) select ID, Name,'1' as "Level" from db.B