one query to check all votes and stars