Insert data from select * from by blocks