select device_id mingpauniversityfrom user_profilewhere universitygpain select universitymingpafrom user_profile group by universitygroup by university什么意思
这个查询是从用户配置文件表中选择设备ID、最低GPA和大学。其中,嵌套的子查询是从用户配置文件表中按大学分组,选择每个大学的最低GPA。然后,在外部查询中,使用子查询的结果来选择具有最低GPA的学生,并按大学分组。
原文地址: https://www.cveoy.top/t/topic/jfWL 著作权归作者所有。请勿转载和采集!