group_concat 排序并取前三个

substring_index(group_concat(distinct num order by num desc),',',3)

猜你喜欢

转载自www.cnblogs.com/LYliangying/p/9576550.html