select uid, level, register_time, max(score) as max_score from ( select t1.uid as uid, t1.level as level, t1.register_time as register_time, t3.release_time as release_time, t2.score as score from ...