1.工具类 using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace Infrastructure{ /// <summary> /// 自带排序功能的List /// T为简单类型时,系统已代为实现ICompareable<T>接口, /
#查询姓张的每个学生的最低分大于60的学号和姓名 SELECT r.studentno,studentname FROM result r INNER JOIN student s ON r.`studentno`=s.`studentno` WHERE s.`studentname` LIKE '张%' GROUP BY r.`studentno` HAVING MIN(r.`score`)>60; #查询生日在'1988-1-1'后的学生的姓