1、根据字段名分组获取每组中最近一条数据 SELECT last(*) FROM "表名" group by 字段名 转载于:https://my.oschina.net/u/1861878/blog/3098435