This MySQL playground allows you to test SQL online. You can test MySQL queries online (MySQL 8.0).
It is an MySQL editor online, it does not require installation. It can help to make small tests easily in a few seconds.
/!\ The data (tables, index, ...) that you create are deleted after approximately 30 minutes of inactivity.
Autocomplete: Ctrl-space for autocomplete.
Enter your SQL query in the editor, finally click on "Run" to execute it. The query result will be displayed below the editor .
You can also run only one query entered in the editor. To do this, simply select it before clicking on "Run".
If you want to export the results in csv format, click on "Export".
The sql queries entered in the editor are saved so that you will find them during your next visits.
Warning, this is a local backup in your browser, it can be deleted at any time.
You can share SQL snippet. Click on "Share snippet" to share your SQL code.
Your database will not be backed up, this only saves the editor code! This is useful for sharing SQL code.
You can dump MySQL database to SQL file. Click on "Database > Dump DB to SQL" to export your database.
MySQL is an open-source relational database, and is also available under proprietary licenses. MySQL is used by many database-driven web applications, and also used by many popular websites!
This small tool allows you to execute queries. You can test the queries with a syntax specific to Mysql.
You can quickly test table structures, and if you are satisfied with the result, you can export your database to SQL format.
Your requests pass through the network, avoid playing with production data.
Comments
James-2020-10-22 13:11
Looks like some permissions need to be updated before we can test out foreign keys.
Cyril (Admin)-2020-10-22 13:25
Mariana-2020-11-03 12:43
I have problem with:
select top (5)
from....
The error is: execute command denied to user ''@'localhost' for routine 'top'
Cyril (Admin)-2020-11-03 12:58
top is not supported by MySQL. You can use LIMIT:
Select * from MyTable Limit 3
Mariana-2020-11-03 13:13
Dream-2020-12-10 19:46
modium sudheeshna-2020-12-15 11:03
Cyril (Admin)-2021-01-13 15:38
Pritam-2020-12-18 07:28
Everything else is awesome. Thank you very much for this webiste.
Night_Gamer_01-2021-01-19 19:02