Yandex Cloud
Documentation
PresentationContact UsTry it for free
© 2026 Direct Cursus Technology L.L.C.
Yandex DataLens Platform
  • Overview
  • Getting started
  • AI tools
    • Overview
    • Working with SQL Editor
    • Connection structure
    • Connection setup
    • Neuroanalyst
    • History
  • Quotas

In this article:

  • Generating database queries
  • Fixing and optimizing database queries
  • Fixing
  • Optimizing
  • Database overview
  1. SQL editor
  2. Neuroanalyst

Analytics and optimization with Neuroanalyst in Yandex DataLens Platform

Written by
Yandex Cloud
Updated at November 23, 2026
View as Markdown
  • Generating database queries
  • Fixing and optimizing database queries
    • Fixing
    • Optimizing
    • Database overview

SQL Editor features an integrated Neuroanalyst you can use to:

  • Generate SQL queries from natural language descriptions.
  • Fix SQL queries from SQL Editor.
  • Optimize SQL queries from SQL Editor.
  • View databases.

Warning

Neuroanalyst can make mistakes. Always check its suggestions for validity.

Generating database queriesGenerating database queries

Neuroanalyst can generate SQL queries based on natural language descriptions, for example:

Find all users who have not placed any orders in the last 30 days.

Create a test table named test and populate it with 10 entries.

Queries follow the syntax and structure of the database you select.

Neuroanalyst does not execute SQL queries. Execute them using one of these methods:

  • Click Execute query below the generated SQL query. This will automatically execute the query in SQL Editor.
  • Copy the query from Neuroanalyst’s response and execute it manually.

Fixing and optimizing database queriesFixing and optimizing database queries

Neuroanalyst can fix and optimize SQL queries from SQL Editor based on the syntax and structure of the database you select. You can also fix and optimize other SQL queries to the selected database by forwarding them directly into the chat.

FixingFixing

  1. Select the required connection from the list in the SQL Editor.

  2. In the top panel, click  Help me prompt. This will open the Neuroanalyst window.

  3. Type Fix errors in this query and click .

    Neuroanalyst can help you fix an SQL query from SQL Editor. If there is no query in the editor, Neuroanalyst will prompt you to enter the SQL query you want to fix.

OptimizingOptimizing

  1. Select the required connection from the list in the SQL Editor.

  2. In the top panel, click  Help me prompt. This will open the Neuroanalyst window.

  3. In the Neuroanalyst window, click the suggested message: Optimize SQL query.

    Neuroanalyst can help you optimize an SQL query from SQL Editor. If there is no query in the editor, Neuroanalyst will prompt you to enter the SQL query you want to optimize.

Database overviewDatabase overview

Neuroanalyst helps with database overviews.

  1. Select the required connection from the list in the SQL Editor.

  2. In the top panel, click  Help me prompt. This will open the Neuroanalyst window.

  3. In the Neuroanalyst window, click the suggested message: Review current database.

    Neuroanalyst will overview the selected database.

Was the article helpful?

Previous
Connection setup
Next
History
© 2026 Direct Cursus Technology L.L.C.