• 2022-07-26
    以下定义的4个视图中,能够进行更新操作的是(  )。
    A: CREATE VIEW S_MALE(学号,姓名) AS SELECT 学号,姓名 FROM student WHERE 班号='09031'
    B: CREATE VIEW S_G(学号,姓名,课程名,分数) AS SELECT S.学号,姓名,课程名,分数 FROM student S,score SC,course C WHERE S.学号=SC. 学号AND SC. 课程号 = C. 课程号
    C: CREATE VIEW S_AVG(学号,平均分) AS SELECT 学号,AVG(分数) FROM score WHERE 分数IS NOT NULL GROUP BY 学号
    D: CREATE VIEW S_FEMALE(姓名,出⽣⽇期) AS SELECT 姓名,出⽣⽇期 FROM student WHERE 性别='⼥'
  • 举一反三