Format output using an output delimiter with an output header line (Note: command will output column names based on the input file header or the column aliases overridden in the query)
q -Ddelimiter -O "SELECT column as alias from path/to/file"