建立表Employee的视图Em view,正确的SQL命令是

admin2017-06-26  7

问题 建立表Employee的视图Em view,正确的SQL命令是

选项 A、CREATE VIEW Em view WHLIE SELECT职工号,工资FROM Employee
B、CREATE AS Em view VIEW SELECT职工号,工资FROM Employee
C、CREATE VIEW Em view AS SELECT职工号,工资FROM Employee
D、CREATE VIEW Em view SELECT职工号,工资FROM Employee

答案C

解析 本题使用sQL命令创建视图。使用CREATE VIEW命令创建视图,其语法为:
CREATE VIEW view_name AS
    SELECT column_name(s)FROM table_name
    WHERE condition
转载请注明原文地址:https://kaotiyun.com/show/xMvp777K
0

最新回复(0)