group by syntax  Nesting groups with group by

Chapter 3: Using Aggregates, Grouping, and Sorting

group by and SQL standards

The SQL standards for group by are more restrictive than the Sybase standard.The SQL standard requires that:

set fipsflagger on

For more information about the fipsflagger option, see the set command in the Reference Manual.

Several Transact-SQL extensions (described in the following sections) relax these restrictions. However, the more complex result sets may be more difficult to understand. If you set the fipsflagger option as follows, you will receive a warning message stating that Transact-SQL extensions are used:





Copyright © 2005. Sybase Inc. All rights reserved. Nesting groups with group by

View this book as PDF