Criteria Overview

Criteria establishes the condition(s) that records from an external data source must meet in order to be included in the cases that are returned by the query. Therefore, criteria is part of the SQL statement that is used to limit which records are returned to the Statistica Spreadsheet. To add criteria, use the options on the Add Criteria dialog, accessible by selecting Add from the Criteria menu, or select a field with the mouse pointer in the Graphic pane and drag it onto the Criteria tab.

When you select a criteria field, make sure that you use the field from the correct table. The following examples are taken from fictitious databases and are provided to illustrate the various ways criteria can be specified to retrieve records.

See Criteria Operators and Criteria Tab for further details.