Help Center/ MapReduce Service/ Component Operation Guide (Normal)/ Using ClickHouse/ Common ClickHouse SQL Syntax/ SHOW: Displaying Information About Databases and Tables
Updated on 2022-09-15 GMT+08:00
SHOW: Displaying Information About Databases and Tables
This section describes the basic syntax and usage of the SQL statement for displaying information about databases and tables in ClickHouse.
Basic Syntax
show databases
show tables
Example
-- Query database information. show databases; ┌─name────┐ │ default │ │ system │ │ test │ └───────┘ -- Query table information. show tables; ┌─name──┐ │ t1 │ │ test │ │ test2 │ │ test5 │ └─────┘
Parent topic: Common ClickHouse SQL Syntax
What is your overall rating for this page?
0
1
2
3
4
5
6
7
8
9
10
Very dissatisfiedVery satisfied
Thank you very much for your feedback. We will continue working to improve the documentation.
The system is busy. Please try again later.