This is not in the SQL standard, but it woudl still be nice to have. To my knowledge, any of these RDBMS support a MEDIAN aggregate function:
- HSQLDB - Oracle - Sybase SQL Anywhere Here are some hints how the MEDIAN value can be calculated using window functions or common table expressions, e.g. in DB2 or SQL Server: http://stackoverflow.com/questions/1342898/function-to-calculate-median-in-sql-server http://stackoverflow.com/questions/1247476/db2-sql-median-with-group-by -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To view this discussion on the web visit https://groups.google.com/d/msg/h2-database/-/7mEejXINjG8J. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/h2-database?hl=en.
