Service Scenario Description
This section describes how to quickly learn the Doris development process and understand key interface functions.
Scenario
Doris can use SQL statements to perform common service operations. The SQL operations involved in the code example include creating a database, creating a table, inserting table data, querying table data, and deleting a table.
The code sample operation process is as follows:
- Connect to Doris using JDBC.
- Create a database.
- Create a table in the database.
- Inserts data into a table.
- Query table data.
- Delete the table.
Function Decomposition
Doris is compatible with the MySQL protocol. Common operations can be performed by using the SQL language.
The development process consists of the following parts:
- Establish a connection: Establish a connection to the Doris service instance.
- Create Library: Create a Doris database.
- Create Table: Create a table in the Doris database.
- Insert Data: Insert data into the Doris table.
- Querying data: Query the Doris table data.
- Deleting a table: You can delete a created Doris table.
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot