collect rows for 'complete'-type query