Icon View Incident Report

Serious Serious
Reported By: Gary Jones
Reported On: 4/8/2002
For: Version 3.08 Build 1
# 1088 SQL AVG Function Returning Incorrect Results for Non-Float Fields

Create a table "testTable" with a single field "testInt" of type integer.

Populate it with two records:

testInt
100
50


Then run the following SQL:

select avg(testInt)
from testTable

The result should be 75. Instead, the query returns 0.


Resolution Resolution
Fixed Problem on 4/10/2002 in version 3.09 build 1
Image