The function
query
is the basic SQL query function. It queries the database specified by
database
with an SQL query statement given by
query-expression
.
The argument
database
defaults to
*default-database*
.
result-list is a list of values as per select, and field-names is a list of field names selected in sql-exp .