After you have created and configured your AI profile, set your AI profile in Data Studio Preferences wizard on the Connections page to use AI features such as generating SQL from Natural Language in the Data Studio tool.
You can run Natural Language Queries on both Analytic Views and Tables.
After the tool generates the query, the Query Result tab displays the result of the query. You can also view the graphical representation of the contents of the PLAN_TABLE in the Explain Plan tab.
You can alternatively view the query result in chart view by switching the display mode in Chart View or Diagram View.
Select the tables you wish to generate the SQL query from. You can use the columns from the selected table in the text field where you enter the Natural Query.
Note
You can click Tabular View, drag and drop columns from the navigator to the Columns and Filter drop area to select the intended columns to query.
Selecting Generate Query converts the Natural language to the equivalent SQL query and displays results under the Query Results tab.
You can alternatively view the query result in tabular view, pivot, and chart view. You can drag and drop rows, columns, and filters from the Tables Browser to the drop area.
Note
From the Chart view you can view the result in horizontal and vertical sheet.