Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
  • Blog
  • Pricing
  • Documentation
Yandex project
© 2025 Yandex.Cloud LLC
Yandex Managed Service for ClickHouse®
  • Getting started
    • All guides
      • SQL queries in Yandex WebSQL
      • Managing databases
      • DB user management
  • Access management
  • Terraform reference
  • Yandex Monitoring metrics
  • Audit Trails events
  • Public materials
  • Release notes
  1. Step-by-step guides
  2. Databases
  3. SQL queries in Yandex WebSQL

SQL queries in Yandex WebSQL

Written by
Yandex Cloud
Updated at July 17, 2024

You can send SQL queries to databases in a Managed Service for ClickHouse® cluster using Yandex WebSQL.

WebSQL is a Yandex Cloud service that allows you to connect to managed database clusters, work with DBs, tables, and schemas, and run queries. It is a web-based tool that does not require additional authorization and simplifies working with SQL queries by suggesting prompts.

To connect from WebSQL to a Managed Service for ClickHouse® cluster, create a connection:

  1. Go to the folder page and select Managed Service for ClickHouse.
  2. Click the cluster name.
  3. Enable the WebSQL access option in the cluster settings if it is not enabled yet.
  4. Select the WebSQL tab.
  5. Click Create connection and specify the connection parameters:
    • Connection name.
    • Database type: ClickHouse®.
    • Cluster: Defaults to your current ClickHouse® cluster.
    • Username you will use to connect to the database in the cluster.
    • User password.
    • Databases you want to connect to. You can only connect to the databases that exist in this cluster. The user you specified must have access to them configured.
  6. Click Create.

To open the SQL editor, click the created connection on the WebSQL tab. See a reference list of supported queries in the ClickHouse® documentation.

For more information about working with WebSQL, see its documentation.

ClickHouse® is a registered trademark of ClickHouse, Inc.

Was the article helpful?

Previous
Code snippets
Next
Managing databases
Yandex project
© 2025 Yandex.Cloud LLC