插入子查询结果(续) [例3]对每一个系,求学生的平均年龄, 并把结果存入数据库。 第一步:建表 CREATE TABLE Deptage (Sdept CHAR(15) /*系名*/ Avgage SMALLINT);:/*学生平均年龄 An Introduction to Database SystemAn Introduction to Database System 插入子查询结果(续) [例3] 对每一个系,求学生的平均年龄, 并把结果存入数据库。 第一步:建表 CREATE TABLE Deptage (Sdept CHAR(15) /* 系名*/ Avgage SMALLINT); /*学生平均年龄*/