32 lines
363 B
MySQL
32 lines
363 B
MySQL
|
CREATE TABLE db. ();
|
||
|
|
||
|
INSERT INTO db.tb ;
|
||
|
|
||
|
SELECT * FROM db. ;
|
||
|
|
||
|
ALTER TABLE db ;
|
||
|
|
||
|
CREATE OR REPLACE VIEW db.v;
|
||
|
|
||
|
ALTER VIEW db.v ;
|
||
|
|
||
|
DROP VIEW db. ;
|
||
|
|
||
|
CREATE FUNCTION fn1;
|
||
|
|
||
|
DROP FUNCTION fn1;
|
||
|
|
||
|
CREATE DATABASE db;
|
||
|
|
||
|
DROP DATABASE db ;
|
||
|
|
||
|
ALTER DATABASE db ;
|
||
|
|
||
|
CREATE SCHEMA IF NOT EXISTS schema_name;
|
||
|
|
||
|
DROP SCHEMA IF EXISTS sch;
|
||
|
|
||
|
ALTER SCHEMA name RENAME TO new_name;
|
||
|
|
||
|
|