Supporting the WITHIN GROUP clause

This list shows which engines support windows functions and which don't:

  • MariaDB: Not supported
  • MySQL: Not supported
  • PostgreSQL: Supported since PostgreSQL 9.4
  • SQLite: Not supported
  • Db2 LUW: Not supported
  • Oracle: Supported since version 9iR1
  • Microsoft SQL Server: Supported but the query has to be remodeled using the windowing function

Get Mastering PostgreSQL 10 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.