use queryandfetch for normal select