SQL statement (-S)

Specify an SQL statement or a call to a stored procedure using either the database-independent or native call syntax that is passed to the database management system to determine the content and format of the database output. This statement should be the same as the statement you are using to generate input for your map. However, you may exclude SQL WHERE clauses because they do not affect the format of the result. The SQL statement must be enclosed in double quotation marks.

-S "sql_statement"