docs/versioned_docs/version-2.39.0/tooljet-db/querying-tooljet-db.md
Querying the ToolJet database is as easy as querying any other data source on ToolJet.
Go to the Query panel, and click on the +Add button to add a new query, and select ToolJet Database
<div style={{textAlign: 'center'}}> </div>Select the table you want to query and the operation from the dropdown, then enter the required parameters for the selected operation. Click on the Run button to execute the query.
<div style={{textAlign: 'center'}}> </div>This operation returns all the records from the table.
This operation creates a new record in the table. You can create a single record or multiple records at once.
This operation updates a record in the table. You can update a single record or multiple records at once.
This operation deletes a record in the table. You can delete a single record or multiple records at once.
You can join two or more tables in the ToolJet database by using the Join operation.
From: In the From section, the following parameters are available:
Inner Join, Left Join, Right Join, and Full Outer Join.= operation is supported for joining tables.AND or OR operation.Filter: Add a condition by choosing a column, an operation, and the value for filtering the records. The operations supported are same as the filter operations for the List rows operation.
Sort: Sort the query response by choosing a column and the order (ascending or descending).
Limit: Limit the number of records to be returned by entering a number.
Offset: Offset the number of records to be returned by entering a number. This parameter is used for pagination.
Select: Select the columns that you want to return in the query response. By default, all the columns are selected.
<div style={{textAlign: 'center'}}> </div>:::info If you have any other questions or feedback about ToolJet Database, please reach us out at [email protected] or join our Slack Community :::
</div> </div>