These functions are available in addition to SQLite’s built-in aggregate functions and built-in scalar functions.
Statistics
These are aggregates only and cannot be used as window functions with OVER.
On empty or all-NULL input, median() and mode() return NULL, while stdev() and variance() return 0.0.
Text
Last modified on November 2, 2026