▲ 10 r/mysql
Why doesn't MySQL have a median function?
I was a bit surprised that MySQL Workbench has no built-in median function similar to AVG, SUM etc. The current way to get the median is to write a fairly lengthy query (compared to simply using the aggragate functions), is there a particular reason why it hasn't been implemented?
u/pancakepizza2 — 8 days ago