Yandex Cloud
Search
Discuss with expertTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
  • Marketplace
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2026 Direct Cursus Technology L.L.C.
Yandex Query
    • Overview
    • Selecting all columns
    • Selecting specific columns
    • Sorting and filtering
    • Data aggregation
    • Additional filter conditions
    • Working with JSON
    • Querying streaming data
  • Access management
  • Pricing policy
  • Integrations
  • Audit Trails events
  • FAQ

In this article:

  • Analytical query example
  • Streaming query example
  1. Working with YQL
  2. Overview

Using Yandex Query Language syntax in Yandex Query

Written by
Yandex Cloud
Improved by
Max Z.
Updated at July 7, 2026
View in Markdown
  • Analytical query example
  • Streaming query example

In this tutorial, you will learn how to use Yandex Query Language syntax and perform data operations in Yandex Query with analytical and streaming query examples.

All examples use a ready-made dataset containing New York City taxi trips from 2019 to 2021.

Note

Yandex Cloud provides the New York City taxi trips dataset as is. Yandex Cloud makes no express or implied representations, warranties, or conditions pertaining to your use of the specified dataset. To the extent permitted by your local law, Yandex Cloud shall not be liable for any loss or damage, including direct, indirect, consequential, special, incidental, or punitive, resulting from your use of the dataset.

NYC Taxi and Limousine Commission (TLC):

The data was collected and provided to the NYC Taxi and Limousine Commission (TLC) by technology providers authorized under the Taxicab & Livery Passenger Enhancement Programs (TPEP/LPEP). The taxi trip data was not created by the TLC, and the TLC makes no representations whatsoever about the accuracy of this data.

Please review the dataset’s original source and its terms of use.

Analytical query exampleAnalytical query example

To create an analytical query and get started:

  1. In the management console, select the folder where you want to create a connection.
  2. In the list of services, select Yandex Query.
  3. In the left-hand panel, select Tutorial.
  4. Click Create connection. In the Create connection section, all the parameter fields are pre-filled. Just enter an optional description and click Create. You will see the Create data binding screen.
  5. Enter the optional data binding description and click Create. This will create the resources required for this tutorial.

From the list on the left-hand panel, select a tutorial section:

  1. Selecting all columns.
  2. Selecting specific columns.
  3. Sorting and filtering.
  4. Data aggregation.
  5. Aggregation conditions.
  6. JSON.

Streaming query exampleStreaming query example

To create a streaming query and get started:

  1. In the management console, select the folder where you want to create a connection.
  2. In the list of services, select Yandex Query.
  3. In the left-hand panel, select Tutorial.
  4. Select Streaming.
  5. Click Create connection. In the create connection section, some settings are pre-filled.
  6. Select an existing database or create a new one.
  7. Select an existing service account or create a new one.
  8. Click Create. You will see the create data binding screen.
  9. Select an existing data stream or create a new one.
  10. Enter the optional data binding description and click Create. This will create the resources required for this tutorial.

From the list on the left-hand panel, select a tutorial section:

  1. Querying real-time data.

Useful linksUseful links

YQL syntax

Was the article helpful?

Previous
Terraform
Next
Selecting all columns
© 2026 Direct Cursus Technology L.L.C.