SELECt * FROM (
SELECt uid,
title,
amount,
maker,
widgets,
rank() over (partition by maker order by amount desc) as rank
FROM entry
) t
WHERe rank <= 3
欢迎分享,转载请注明来源:内存溢出
SELECt * FROM (
SELECt uid,
title,
amount,
maker,
widgets,
rank() over (partition by maker order by amount desc) as rank
FROM entry
) t
WHERe rank <= 3
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)