more impl on sqlite queryVoted