代码:close alluse STUDselect avg(年龄) as 姓张的学员的平均年龄 from stud where left(姓名,2)="张"select avg(年龄) as 姓王的学员的平均年龄 from stud where left(姓名,2)="王" 图: