12 lines
560 B
MySQL
12 lines
560 B
MySQL
|
CREATE VIEW a AS SELECT * FROM t;
|
||
|
CREATE OR REPLACE VIEW a AS SELECT * FROM t;
|
||
|
CREATE VIEW a SECURITY DEFINER AS SELECT * FROM t;
|
||
|
CREATE VIEW a SECURITY INVOKER AS SELECT * FROM t;
|
||
|
CREATE VIEW a COMMENT 'comment' SECURITY DEFINER AS SELECT * FROM t;
|
||
|
CREATE VIEW a COMMENT '' SECURITY INVOKER AS SELECT * FROM t;
|
||
|
CREATE VIEW a COMMENT 'comment' AS SELECT * FROM t;
|
||
|
CREATE VIEW a COMMENT '' AS SELECT * FROM t;
|
||
|
CREATE VIEW bar.foo AS SELECT * FROM t;
|
||
|
CREATE VIEW "awesome view" AS SELECT * FROM t;
|
||
|
CREATE VIEW "awesome schema"."awesome view" AS SELECT * FROM t;
|