if select has no from, we will route to master 0 or slave 0