MySQL efficient way to pivot data

前端 未结 0 1775
囚心锁ツ
囚心锁ツ 2021-01-31 06:07

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         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题