The query string is duplicated (once here and once at line 76). You should move it to a helper method.

Or maybe we could add an extra parameter to `Iterators\Table` to make it have this behaviour (repeat the same query until there are no more results).