Search
 
SCRIPT & CODE EXAMPLE
 

SQL

show tables postgresql

SELECT *
FROM INFORMATION_SCHEMA.tables
where table_schema = 'public';
Comment

postgresql how to show table names

SELECT table_name
  FROM information_schema.tables
 WHERE table_schema='public'
   AND table_type='BASE TABLE';
Comment

show all tables postgres

dt
# show list of tables in postgres
Comment

show table postgres command

PostgreSQL show tables command
	
dt
Comment

postgresql show tables

c database_name -> to select the database
dt -> to show the tables in the current database
Comment

show table details postgresql

d table
Comment

show details of table postgres

postgres=# d tablename;
Comment

postgresql show tables

SELECT *
FROM pg_catalog.pg_tables
WHERE schemaname != 'pg_catalog' AND 
    schemaname != 'information_schema';
Code language: SQL (Structured Query Language) (sql)
Comment

PREVIOUS NEXT
Code Example
Sql :: into operator in sql 
Sql :: redirection 301 htaccess nom de domaine 
Sql :: mysql workbench view 
Sql :: mysql select field if condition 
Sql :: how to get the previous day on mysql 
Sql :: sql server epoch to datetime 
Sql :: select indexname psql 
Sql :: sql interview questions for testers 
Sql :: how to select only a certain date sql 
Sql :: Kill session in SQL Developer 
Sql :: MySQL error code 2068 
Sql :: alter table add multiple columns mysql 
Sql :: Remove duplicate old value in mysql 
Sql :: Concatenate columns in table 
Sql :: sql select only row with the max date 
Sql :: postgres drop type 
Sql :: synonym oracle 
Sql :: search from comma separated values in sql server 
Sql :: sql update from one table to another based on a id match 
Sql :: sql except query 
Sql :: union sql 
Sql :: online sql compiler 
Sql :: how to generate er diagram in mysql workbench 
Sql :: aliasing in sql 
Sql :: SELECT statement to find the specific cell in database table 
Sql :: SQLite (sqlite 3.27.2) sample 
Sql :: postgres type equivalent to timespan c# 
Sql :: will graphql replace sql 
Sql :: ring SQLite sqlite_open 
Sql :: Limiting a left join to returning one result? 
ADD CONTENT
Topic
Content
Source link
Name
3+8 =