add getResultFromQuery()

add method get result from single query