# Query Editor

Use the editor to read and write SQL code.&#x20;

To open the Query Editor, click on the SQL button (<img src="https://2743975646-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LriZ7WXXZykpg6_MQsw%2F-LrntGb3PkQ---fhzag9%2F-LrntylX1OfNHdT6osGc%2Fquery%20editor.png?alt=media&#x26;token=86df5424-9d9b-47b6-bb24-6f2bbbf1e716" alt="" data-size="line">) on top of the left sidebar, or use shortcut keys **`⌘ + ⏎`** or **`⌘ + E`**

For more information, see [Editor basics](https://docs.tableplus.com/query-editor/untitled).

![](https://2743975646-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LriZ7WXXZykpg6_MQsw%2F-LroisLutJmSZ0LUS04D%2F-Lroj-TzY-JP3NZZz1-z%2Fquery%20editor.png?alt=media\&token=11d6639c-9642-43e4-aeba-0523419489ef)
