Query Type: Custom
- Last UpdatedAug 17, 2022
- 1 minute read
You can write custom SQL queries to execute against the database.
To create a custom query
-
In the Query Type list in the toolbar, click Custom.
-
In the Results pane, type the SQL query in the SQL tab.
-
To view the results, click the Data tab in the Results pane.
You can use the Custom query type to retrieve data from any database. For example, the following query retrieves from the Northwind database the list of employees who live in London. (The Northwind database is a sample database that is shipped with Microsoft SQL Server.)
USE Northwind
SELECT * FROM Employees
WHERE City = 'London';