Roddick saw off young hopeful Querrey to reach 500 career wins.