Query Editor
A query is a request for data or information from a database table or a combination of tables. SQL queries are used to retrieve or manipulate data from the Datasource. You can visualize the results of these queries as charts, graphs, or complex datasets. This section explains how to create SQL queries in Infoveave.
Creating queries using the Query Editor
You can streamline the process of formulating queries over existing Datasources in Infoveave to efficiently customize, analyze, and modify data. This helps you derive meaningful insights from complex datasets.
- To write a query in Infoveave over any existing Datasource, click on Studio Queries. All queries created by you or shared with you are displayed under the tabs My Queries and Shared Queries respectively.
- To formulate a fresh query, click on the New Query button.
- Select the Query Editor box.
- Select the Datasource you want to use from the drop-down list and click on the Continue button.
- Write the required query in the editor box.
- Click to execute the query. The viewer box displays the query results in a tabular form.
- View the query run history from the History tab.
- After executing the query, click on Save if you wish to save the SQL query. You can save it either as a new query or as an update to the existing query.
- To retain it as a new query, use the Save as new option. Provide a query name and click Save.
- To update an existing query, select the Update existing option. Enter the query name that requires updating and click Save.
- To view the changes, click on Version history icon.
- Click on Show as Report icon on the required query to generate a report based on that query.
- You can also edit the datasource by clicking on Edit datasource icon.