add a "dry-run" flag to the query cmd to just print the SQL query.
add a "dry-run" flag to the query cmd to just print the SQL query.