insert-all and select-all