rq_get_query function

Execute a get query, typically a non-update that is supposed to return results.