Choose your SQL server:
AnySQL
MySQL
MS SQL Server
PostgreSQL
Oracle
SQL Anywhere
DB2
SQLite
Firebird
MaxDB

Subscribe to our newsletter

Code Factory for MySQL online Help

Prev  Return to chapter overview Next 

Setting output fields

The Selection tab displays the output fields of the query. It allows you to edit the names of the query output fields, set their displaying order and set the aggregate functions (SUM, MIN, MAX, AVG, and COUNT) for each field. To remove the field from the list, select the Delete current row item from the popup menu of the field row. To modify the input query field, double-click it and then type the field name or select one from the drop-down list.

 

To modify the output query field name, double-click it and enter the field name.

 

Aggregate

To set the aggregate function for the field, double-click the field row in the Aggregate column and then type the function name or select one from the drop-down list.

 

  Select only unique records

If you check this option the repeated records are not included into the query result (the DISTINCT word will be added to the query text).

 

 



Prev  Return to chapter overview Next