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.

 

 

News
7/13/2004
COMDLG32.OCX error at startup
6/29/2004
Opening FoxPro and dBase databases
1/11/2024
Version 1.1.7 Relased (1/11/2024)
11/18/2002
Version 1.1.0 Relased (11/16/2002)
10/20/2002
HotFix 1 for Windows XP SP1

Forums
6/4/2024
Video Downloader Script
6/3/2024
Article Directory Script
8/10/2024
removing duplicate records
8/8/2024
data validation and BaseNow
1/24/2007
Outlook 2003
1/12/2024
BASENOW AND FOXPRO DATE FORMATS
11/6/2024
Need help in Sybase Anywhere database
10/19/2006
need help! mysql query