• 2022-06-07
    修改视图stu的结构应使用语句ALTER VIEW ss【1】SELECT * FROM s_view WHERE score>=60
  • AS

    内容

    • 0

      以下是修改视图的语句是 A: create or replace view st1 as select* from student; B: alter view st1 as select name from student join class on student.cid=class.id; C: alter table st1 modify class int(3); D: create or replace table st1 as select* from student;

    • 1

      MySQL中可通过CREATE ( ) VIEW语句和ALTER VIEW语句来修改视图。

    • 2

      以下创建视图的语句中,正确的是 A: CREATE st_view AS SELECT sid,sname,ssex FROM stu B: CREATE VIEW st_view SELECT sid,sname,ssex FROM stu C: CREATE VIEW st_view AS sid,sname,ssex FROM stu D: CREATE VIEW st_view AS SELECT sid,sname,ssex FROM stu

    • 3

      使用ALTER VIEW语句可以对已有的视图进行修改。(

    • 4

      下列的查询语句哪一项是错误的(选一项) A: Select * from stumarks where score>=60 B: Select * from (select * from stumarks where score>=60) C: Select * from (select * from stumarks where score>=60) as temp D: Select * from (select * from stumarks ) as temp where score>=60