问题描述: 数据库有表A、表B。 业务需求一(针对B表): b_status = 1 以a_id为分组查询时间最新的一条记录 mysql(5.7.28版本): #注意:不添加 LIMIT 不生效 SELECT bb.a_id,bb.id,bb.b_status,bb.b_tim