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

admin2017-04-26  32

问题 建立表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

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

最新回复(0)