---
url: >-
  /statelake/administering-statelake/designer/data-definitions/db-database-definitions/design-db-database-definitions/sql-tab-db-database-definitions.md
---

# SQL Tab - DB (Database) Definitions

The eighth and final tab is the **SQL** tab.

To view the query code that has been generated by the selections and criteria made on the query, click on the **SQL** tab. You can look at this tab at any stage.

It simply echoes your in SQL code, and will be as simple or as complex as you have made your query.

The window is fully scalable.
