I\'m looking for an efficient way to pivot my resultset in MySQL which will ultimately be deployed to MariaDB.
SELECT year(s.date) year, u.user_name, sum(s.point