# Querying a Database

These topics describe how to create a query on a table, based on parameters, as well as additional advanced query options.

1. To add a query to a table, from the Project Explorer, right-click the table and select New Query from the menu.

2. This will launch the Query Builder dialog.

Note: Query Text syntax is dependent on the database type. i.e. selecting the first 100 rows in MS SQL is SELECT TOP(100) * FROM MyTable while in SQLite it is SELECT * FROM MyTable LIMIT 100