有没有会写这个SQL的大哥,求指教。
全部评论
开窗可以求
select * from temp where CONCAT(date,name) in (select CONCAT(MAX(date),name) res from temp a GROUP BY `name`);
用group by和MAX函数
相关推荐
点赞 评论 收藏
分享
06-28 17:41
清华大学 Java 点赞 评论 收藏
分享

点赞 评论 收藏
分享