Data Q&A overview
Concepts
Data Q&A is a feature that provides intelligent answers to questions about your tabular data. It supports actions such as query and inference. Data Q&A uses natural language processing (NLP) to translate your questions into SQL statements. It then executes these statements to perform queries and inference, returning the results as an answer. The following figure shows how this works:

Use cases
Data Q&A is ideal for scenarios where you have extensive tabular business data and need to answer user questions by querying it.
Existing tables | Query and inference | Database integration |
|
|
|
In these scenarios, you can automate responses by importing your tables. You can further improve performance by adjusting the Q&A Settings.
Features
Data Q&A provides the following core capabilities:
Capability | Description | Example question |
Single/multi-column query | Selects one or more columns in a | List the name and price for models with a fuel consumption greater than 8 and a power output less than 200. |
Aggregate function query | The | What are the records for the Gold Award, and what is the latest award date? |
Value comparison | The | What is the number of applicants for positions that require a bachelor's degree, where the number of approved candidates is greater than 20 and less than 30? |
Multiple conditions | The | What is the total reservoir capacity in the Yangtze River basin and the Pearl River basin? |
Automatic column name completion | When you query using a | Who are the students in computer science or those with excellent grades? What are their student IDs? |
Generalization capability | You do not need to use exact column names in your questions. | Which SUVs have a fuel consumption below 5? |
TOP N | Returns the top N or bottom N results. | What were the top 10 provinces for sales in 2023? |
Sequential comparison | Compares data from the current period to the previous period. | What was the sequential growth in total sales for the dealer 'Mao Long' in the first quarter of this year? |
Year-over-year comparison | Compares data from the current period to the same period in the previous year. | What was the year-over-year growth in total sales for the dealer 'Mao Long' in the first quarter of this year? |