support for Select in Query