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

SQLize | PHPize | SQLtest

Online Sandbox for SQL and PHP: Write, Run, Test, and Share SQL Queries and PHP Code

A A A
Login    Share code      Blog   FAQ
Copy Format Clear
/* In PostgreSQL: This lists databases: SELECT datname FROM pg_database WHERE datistemplate = false; This lists tables in current database: SELECT table_schema,table_name FROM information_schema.tables ORDER BY table_schema,table_name; */ --SELECT * FROM pg_database --WHERE datistemplate = false; /* In MySQL: show databases; Show Full Tables */ --show databases; --USE performance_schema; --SHOW Full TABLES; SELECT * FROM information_schema.schemata;

Stuck with a problem? Got Error? Ask AI support!

Copy Clear