Updated on 2022-09-14 GMT+08:00

Typical Application Scenario

You can quickly learn and master the ClickHouse development process and know key interface functions in a typical application scenario.

Scenario

ClickHouse enables you to perform common service operations by executing SQL statements. The SQL operations involved in sample codes include creating a database, creating a table, inserting data into a table, querying table data, and deleting a table.

Sample codes are described in the following sequence:

  1. Setting properties
  2. Establishing a connection
  3. Creating a database
  4. Creating a table
  5. Inserting data into a table
  6. Querying data
  7. Deleting a table