# SQL Editor

<figure><img src="https://2669032148-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCQjuvibJ7lmVV8tNNZLy%2Fuploads%2Fgit-blob-5db11771fa4a25b0573de518b53ad4c25e34051b%2F021-sqleditorcli.png?alt=media" 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](https://aptivi.gitbook.io/deprecated/nitrocid-ks-v0.1.1-rtm/fundamentals/simulated-kernel-features/shells/commands-list)
{% endcontent-ref %}

## Interactive TUI

<figure><img src="https://2669032148-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCQjuvibJ7lmVV8tNNZLy%2Fuploads%2Fgit-blob-2af2c48097b0149667b043e6672245cfacda8d6f%2F022-sqleditortui.png?alt=media" 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](https://aptivi.gitbook.io/deprecated/nitrocid-ks-v0.1.1-rtm/fundamentals/simulated-kernel-features/editors/hex-editor)
{% endcontent-ref %}
