---
description: Your database, here.
---

# SQL Editor

<figure><img src="https://1453621892-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyhORwVwuIgJMLsQRqN3S%2Fuploads%2F36Wln5JrscEFC9LMX3ai%2F021-sqleditorcli.png?alt=media&#x26;token=440f5d8b-23ba-4a3c-86ef-cd7b9a157719" alt=""><figcaption></figcaption></figure>

The SQL Shell allows you to execute any SQL command to a connected database file. It supports databases which are created by SQLite, MySQL, and their derivatives.

{% hint style="info" %}
For list of commands supported by MySQL, consult this [link](https://dev.mysql.com/doc/refman/8.0/en/sql-statements.html).
{% endhint %}

## Commands

You can consult the below page for the list of SQL editor commands.

{% content-ref url="../../shells/commands-list" %}
[commands-list](../../shells/commands-list)
{% endcontent-ref %}

## Interactive TUI

<figure><img src="https://1453621892-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyhORwVwuIgJMLsQRqN3S%2Fuploads%2FfDAF1P2a34ykTVsTcXpp%2F022-sqleditortui.png?alt=media&#x26;token=bc360b46-868c-49c3-a641-f07babca1855" alt=""><figcaption></figcaption></figure>

You can also interactively edit SQL files using the powerful interactive TUI for hex editing. You can consult the below page for more information about how to use it:

{% content-ref url="../../editors/hex-editor" %}
[hex-editor](../../editors/hex-editor)
{% endcontent-ref %}
