merge into using select