Name

VAR_POP()

Synopsis

VAR_POP(expression)

This function returns the variance of a given column, based on the rows selected as a population. It’s synonymous with VARIANCE and was added in version 5.0.3 of MySQL for compliance with SQL standards. See the description of VAR_SAMP() for an example of this function’s use.

Get MySQL in a Nutshell, 2nd Edition 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.