Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SAP Sybase SQL Anywhere 16.0 » UltraLite - Java Programming » UltraLiteJ application development » Code examples

 

Java SE example: Aggregation and grouping

Run the Java SE sample to understand how to handle the aggregation and grouping of results.

Prerequisites

There are no prerequisites for this task.

 Task
  1. Change to the following directory: %SQLANYSAMP16%\UltraLiteJ\J2SE.

  2. Run the CreateSales example:

    rundemo CreateSales
  3. Run the following command (the command is case sensitive):

    rundemo SalesReport

Results

The sample applications run successfully. A sales report is generated.

 See also