SELECT *
FROM INFORMATION_SCHEMA.tables
where table_schema = 'public';
Showing all table:
show tables;
Showing table data:
SELECT
* or column_names
FROM
table_name;
USE 'DATABASE_NAME';
SHOW TABLES;
SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = table_name;