SQL Lab

From Datonis
Revision as of 06:00, 30 July 2020 by Aditya (talk | contribs)
Jump to: navigation, search

About SQL Lab

SQL Lab is a modern, feature-rich SQL IDE. Using this, the user is able to look at his/ her data tables, create joins on existing tables, and can visualize these modified tables to get additional inights.

This can be accessed by going to 'SQL Lab' button present at the top of the Datonis BI toolbar or by clicking on the '+New' button and selecting 'SQL Query' at the top right of the page.

Accessing the SQL Lab

Components of SQL Lab

There are 3 components available that are explained below:

  1. SQL Editor - This is the IDE where-in the user can write his/ her own SQL queries.
  2. Saved Queries - Once the user has created the queries and he/ she wish to run the same query then he/ she can save the query and rerun it by accessing it in the 'Saved Queries' tab.
  3. Query Search - This feature lets the user search for his/ her queries by a user, database, and date of creation.

SQL Lab Usage

Show data sources, tables, and writing queries.

Query + creating charts

Video

The SQL Query page gives the user a detailed look into his/her datasources and the tables present for that datasource. There are 3 sections in the SQL Query page.

  1. Datasource/ Table Pane - marked in Red
  2. SQL Query Editor Pane - marked in Blue
  3. SQL Query Output Pane - marked in Green
SQL Editor Panes

Example video for creating a chart[edit | edit source]

Here is an example video of how you can create a chart