1SELECT TABLE_NAME
2FROM INFORMATION_SCHEMA.TABLES
3WHERE TABLE_TYPE = 'BASE TABLE' AND TABLE_CATALOG='YOUR_Database_name'
1BY LOVE SINGH
2
3SELECT TABLE_NAME
4FROM INFORMATION_SCHEMA.TABLES
5WHERE TABLE_TYPE = 'BASE TABLE' AND TABLE_CATALOG='YOUR_Database_name'
1Showing all table:
2show tables;
3
4Showing table data:
5SELECT
6* or column_names
7FROM
8table_name;
1SELECT TABLE_NAME
2FROM INFORMATION_SCHEMA.TABLES
3WHERE TABLE_TYPE = 'BASE TABLE' AND TABLE_CATALOG=db_name()
4and TABLE_NAME like'%table_name%'--to check particular table