Sql Insert Into Table From Select Query Between Two