SQL Blocks take SQL queries and turn them into reusable data sources that people can use as the basis for additional analysis. SQL Blocks can also be materialized to your database, helping speed up queries.
Any changes made to the SQL Block will be propogated forward to all of the worksheets built on the Block.
1. Open the SQL Runner. You can open the SQL Runner from the home page or from the left-hand navigation menu.
2. Write your SQL query.
3. Run your SQL query and check that you are getting the data you want.
4. Click ‘Create SQL Block’