ID EN
Aggregate Functions

SUM([DISTINCT] expr) [over_clause]

MySQL 8.4

SUM([DISTINCT] expr) [over_clause]