Function
sql
print-query query-exp &key titles formats sizes stream database =>
An SQL query expression.
A list of strings.
A list of strings.
A list.
An output stream.
A database.
print-query function takes a symbolic SQL query expression and formatting information and prints onto stream a table containing the results of the query. nil. t, which means that~A or~VA are used if sizes are provided or computed. t, which specifies that minimum sizes are computed. t. This specifies that*standard-output* is used.
(print-query [select [surname] [income] :from [person]]
:titles '("NAME" "SALARY"))
map-queryprint-queryselect