Hi! Could we please enable some services and cookies to improve your experience and our website?

SQLize Online / PHPize Online  /  SQLtest Online

A A A
Share      Blog   Popular

SQLize.online is a free online SQL environment for quickly running, experimenting with and sharing code. You can run your SQL code on top of the most popular RDBMS including MySQL, MariaDB, SQLite, PostgreSQL, Oracle and Microsoft SQL Server.

Copy Format Clear
CREATE TABLE a (id bigserial PRIMARY KEY, value text); CREATE VIEW v AS SELECT id FROM a; ALTER TABLE a DROP COLUMN value; CREATE FUNCTION trg () RETURNS trigger AS $$ begin end; $$ LANGUAGE plpgsql; CREATE TRIGGER trg1 INSTEAD OF insert ON v FOR EACH ROW EXECUTE FUNCTION trg(); select * from v;

Stuck with a problem? Got Error? Ask ChatGPT!

Copy Clear