Add a view
Navigate to Data Sources in the left-hand menu, then choose the data source in which you want to create a view.
Next, click the add button in the upper-right corner of the page.
Enter a View Name and Primary Key, and enter or paste the SQL that renders the view. Click the Preview Query button to see the results that would appear in the view. Click the Save button to commit your changes.