den1 tablosunu select * from sorgusu ile listeleyip döngü içerisinde okunan her kayıtı yeni bir kayıt olarak den2ye ekleyebilirsin.