main
public static void main(java.lang.String[] args)
The main program. Example shows the how to use the extended query.
The name of the Units ad the number of Quantities which use the unit
are requested with one query. The condition is the Name of the unit
starting with "k" (case blind) or the factor == 1.0, because comparing
floating point numbers on an exact value is always risky we compare the
factor between 0.95 and 1.05. We order the result by the name of the Unit.
We like also the units which have no quantities so an outer join is required.
We have to group the counts of the quantities for the name of the unit.
- Parameters:
args
- not used.