2023-10-10 16:37:49 +08:00
|
|
|
INSERT INTO db.tb ;
|
|
|
|
|
|
|
|
SELECT * FROM db.;
|
|
|
|
|
|
|
|
CREATE TABLE db. VALUES;
|
|
|
|
|
|
|
|
DROP TABLE IF EXISTS db.a;
|
|
|
|
|
|
|
|
CREATE OR REPLACE VIEW db.v;
|
|
|
|
|
|
|
|
DROP VIEW db.v ;
|
|
|
|
|
|
|
|
CREATE FUNCTION fn1;
|
|
|
|
|
2023-10-12 17:08:21 +08:00
|
|
|
SELECT name, calculate_age(birthday) AS age FROM students;
|
2023-10-10 16:37:49 +08:00
|
|
|
|
|
|
|
CREATE DATABASE db;
|
|
|
|
|
|
|
|
DROP SCHEMA IF EXISTS sch;
|