• 2022-06-19
    创建数据表student的SQL语句为()
    A: CREATE DATABASE student
    B: CREATE VIEW student
    C: CREATE PROCEDURE student
    D: CREATE TABLE student
  • D

    内容

    • 0

      要显示表student的表结构,可以使用命令______。 A: STRUCTURE student; B: DESCRIBE student; C: SHOW CREATE TABLE student; D: VIEW student;

    • 1

      下列选项中,()语句可以删除数据库表Student。 A: drop table Student B: select * from sysobjects where name='Student' C: create table Student D: DROPS DATABASE School

    • 2

      下列哪条语句可以创建视图( )。 A: create view v_student as select * from student; B: alter view v_student as select * from student; C: drop view v_student as select * from student; D: sp_help view v_student as select * from student;

    • 3

      完成语句:查看表student的结构 create table ;

    • 4

      以下是修改视图的语句是 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;