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 schema seminar_3; CREATE table seminar_3.salary ( employee_nm text, department_nm text, salary_amt numeric(20,2) ); SELECT * FROM information_schema.tables WHERE table_name = 'salary'; SET search_path = 'seminar_3'; INSERT INTO seminar_3.salary VALUES ('Петя Иванов', 'АЙТИ', 10); INSERT INTO seminar_3.salary (employee_nm, salary_amt) VALUES ('АЙТИ', 30000); DELETE FROM seminar_3.salary WHERE employee_nm = 'АЙТИ'; ALTER table salary ADD COLUMN comment text; UPDATE salary set comment = 'Комментарий для строки ' || salary.employee_nm; DROP table salary; ALTER table salary DROP COLUMN comment; SELECT * FROM seminar_3.salary;

Stuck with a problem? Got Error? Ask ChatGPT!

Copy Clear