SQL based Datasets take SQL queries and turn them into reusable data sources that people can use as the basis for additional analysis. Datasets can also be materialized to your database, helping speed up queries.
Any changes made to the Dataset will be propagated forward to all of the worksheets built on the Dataset.
Create a SQL Based Dataset
- Click the + button in the left hand navigation panel to open the Create New / Explore Data menu. Select Write SQL to open SQL Runner.
- Select a connection.
- Write your SQL query in the text editor.
- Click the Run button to run your SQL query and check that you are getting the data you want.
- In the page header, click Save as Dataset.