Postgres
\h for help with SQL commands\? for help with psql commands\l -> this to list all databases.\c db -> to connect with database caled db\d -> to list all tables.\dn -> list all schema\dt lists tables for public schema. To show tables of all schemas use \dt *.*
and for a particular schema use \dt schema_name.*\q to quitCOPY Emp(name, id) FROM '\tmp\test.csv' DELIMITER ',' HEADER ;Last updated