BaseNow

 

  Search
   

  Help

Screen shots

Compare editions

Online help

Quick-start videos

System requirements

License agreement

Known issues

  Support

 Forums

Technical support

Feedback

 About the author

 Company

Contact

Privacy policy

  Features

BaseNow architecture

Database tools

BaseNow Agent

Tables and views

SQL Query Builder

Import/export data

  Subscribe

Stay informed about any major changes. Click here to subscribe

 

Specifying conditions for groups

You can limit the groups that appear in a query by specifying a HAVING clause that applies to groups as a whole. After the data has been grouped and aggregated, the conditions in the HAVING clause are applied. Only the groups that meet the conditions appear in the query. You can create complex conditions for a HAVING clause by using AND and OR to link conditions.

To specify a condition for a group

1. Specify the groups for your query. For details, see Group Rows in query results.

2. In the Criteria column, specify the condition to apply to the group. The program automatically creates a HAVING clause in the statement in the SQL pane, such as in the following example:


Related Topics:

About calculations in a view

Create a calculate column in a view

About aggregate functions

Group Rows in query results

About SQL Query Builder

SQL Query Builder Layout

[Home] [Download] [Screen Shots] [Details] [Support] [Purchase]

Copyright © 1997-2005 Gate Comm Software. All Rights Reserved.