This is a short table of useful and common MySQL & PostgreSQL commands put up against each other.
MySQL PostgreSQL Command line client mysql psql Connect to database use mysql; \connect postgresql; List databases show databases; \l List tables show tables; \dt Describe table describe table; \d table; Show server version select version(); select version(); […]
Recent Comments