Add support for SQL Standard statistics functions, such as STDDEV_POP, 
STDDEV_SAMP, VAR_POP, VAR_SAMP
-----------------------------------------------------------------------------------------------------

                 Key: DERBY-5466
                 URL: https://issues.apache.org/jira/browse/DERBY-5466
             Project: Derby
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 10.8.1.2
            Reporter: Lukas Eder
            Priority: Minor


Any of these RDBMS support the SQL standard statistics functions STDDEV_POP, 
STDDEV_SAMP, VAR_POP, VAR_SAMP:

- DB2 (only STDDEV, VARIANE)
- H2 
- HSQLDB 
- Ingres 
- MySQL 
- Oracle 
- Postgres 
- SQL Server (named STDEVP, STDEV, VARP, VAR)
- Sybase ASE
- Sybase SQL Anywhere

These don't:

- Derby
- SQLite

This would be a useful addition for Derby, I think.

An even larger example list of possible statistics aggregate functions is 
listed in the Postgres documentation:
http://www.postgresql.org/docs/9.0/static/functions-aggregate.html#FUNCTIONS-AGGREGATE-STATISTICS-TABLE

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to