SELECT uid, nick_name ,register_time FROM user_info ORDER BY register_time LIMIT 3 或 SELECT t.uid, t.nick_name , t.register_time FROM (SELECT uid, nick_name ,register_time, ROW_NUMBER() OVER(ORDER BY register_time ASC) rk FROM user_info ) t WHERE rk<=3 注意:用窗口函数的时候,只能用ROW_NUMBER(),不可以用RANK()和D...