Help Center/
MapReduce Service/
Component Operation Guide (LTS) (Ankara Region)/
Using ClickHouse/
Common ClickHouse SQL Syntax/
SHOW: Displaying Information About Databases and Tables
Updated on 2024-11-29 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 databases.
show databases; ┌─name────┐ │ default │ │ system │ │ test │ └───────┘
- Query table information.
show tables; ┌─name──┐ │ t1 │ │ test │ │ test2 │ │ test5 │ └─────┘
Parent topic: Common ClickHouse SQL Syntax
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot