finish pq\Query