> ## Documentation Index
> Fetch the complete documentation index at: https://docs.replit.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Work with your data

> Browse, edit, export, and query your database from the My Data tab, with visual tools or SQL.

The **My Data** tab is where you look at and change what's in your database. Open the **Database** tool, select a database, then select **My Data**. You can work visually or run SQL directly.

<Note>
  To edit production data, select the production database, open **My Data**, and toggle **Edit**. Be careful: this is your live app's real data.
</Note>

## Browse and modify data visually

The Database tool includes <a href="https://orm.drizzle.team/drizzle-studio/overview" target="_blank">Drizzle Studio</a>, a tool that lets you browse and modify data visually. These visual tools help you avoid syntax errors and offer the following functionality:

* Filter and sort data to focus on specific information
* Export data to a file for external use
* Insert or modify row data
* Create and manage schema, tables, views, and enums

<Frame>
  <img src="https://mintcdn.com/replit/tlGd6oyGOaUUeRxr/images/databases/database-editor.jpg?fit=max&auto=format&n=tlGd6oyGOaUUeRxr&q=85&s=18a9293165cc5d42db6c61ea572780d1" alt="image of the table structure editor" width="1389" height="871" data-path="images/databases/database-editor.jpg" />
</Frame>

## Run SQL commands

The SQL runner lets you run SQL commands on your database and view the results.

<Accordion title="How to access SQL runner">
  From the **Database** tool:

  1. Select the **My Data** tab
  2. Select <img class="icon-svg" src="https://mintcdn.com/replit/X_IP1EeHGm0cA2VA/images/icons/sql-runner-icon.svg?fit=max&auto=format&n=X_IP1EeHGm0cA2VA&q=85&s=fd73c517972d1a4004105e6ab49d130b" alt="SQL runner icon" width="16" height="16" data-path="images/icons/sql-runner-icon.svg" /> **SQL runner**
</Accordion>

To run a query, enter the SQL statement in the text area and select the adjacent <img class="icon-svg" src="https://mintcdn.com/replit/X_IP1EeHGm0cA2VA/images/icons/sql-play.svg?fit=max&auto=format&n=X_IP1EeHGm0cA2VA&q=85&s=eb0c68e0ab494444f0cbc60325bd1150" alt="sql run icon" width="18" height="18" data-path="images/icons/sql-play.svg" /> run button:

<Frame>
  <img src="https://mintcdn.com/replit/tlGd6oyGOaUUeRxr/images/databases/sql-runner-run.jpg?fit=max&auto=format&n=tlGd6oyGOaUUeRxr&q=85&s=258c6ac51524a21e6a6e2070c7cefd3c" alt="screenshot of the SQL runner and run button" width="1390" height="608" data-path="images/databases/sql-runner-run.jpg" />
</Frame>

<Tip>
  You don't need to write SQL yourself. Ask Agent to query or change your data, and it writes and runs the SQL for you.
</Tip>

## Next steps

* [Connection details](/features/data-and-storage/connection-details): Connect an external SQL client.
* [Data recovery](/features/data-and-storage/data-recovery): Undo unwanted data changes.
