sql show tables
snippet in sql

get the list of all tables in sql server

user1619

SELECT TABLE_NAME
FROM INFORMATION_SCHEMA.TABLES
WHERE TABLE_TYPE = 'BASE TABLE' AND TABLE_CATALOG='YOUR_Database_name'

how to get all table names in sql query

user847

BY LOVE SINGH

SELECT TABLE_NAME
FROM INFORMATION_SCHEMA.TABLES
WHERE TABLE_TYPE = 'BASE TABLE' AND TABLE_CATALOG='YOUR_Database_name'

sql show tables

user4154

Showing all table: 
show tables;

Showing table data:
SELECT
* or column_names
FROM
table_name;

mariadb show tables

user6279

SHOW TABLES FROM database

how to check table name in current database sql

user3596

SELECT TABLE_NAME
FROM INFORMATION_SCHEMA.TABLES
WHERE TABLE_TYPE = 'BASE TABLE' AND TABLE_CATALOG=db_name() 
and TABLE_NAME like'%table_name%'--to check particular table