"""
Generate the matching items from a query constructed dynamically.
- Usually you wouldn't go through this palaver for a static query, but his
+ Usually you wouldn't go through this palaver for a static query, but this
function helps with building queries in pieces. WANT should be a list of
column names we should output, appropriately qualified if there are
multiple tables; TAB should be a list of table names, in the form `FOO as