About the MariaDB compiler
MySQL-compatible open-source database. Run MariaDB code in your browser with no install and no signup — the editor, the input and the output share one screen. MariaDB compiles and runs on your own device through WebAssembly, so once the page has loaded it keeps working without a network connection.
Press Run to execute the program, edit it and press Run again, or paste your own code over it. Everything you type stays in the page; the editor caches your work locally so a reload does not lose it.
A MariaDB example
This is the program the MariaDB editor opens with — run it as it is, then change it.
-- MariaDB: MySQL-compatible with extra features
CREATE TABLE orders (
id INT AUTO_INCREMENT PRIMARY KEY,
customer VARCHAR(100),
amount DECIMAL(10,2),
status ENUM('pending', 'shipped', 'delivered'),
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);
INSERT INTO orders (customer, amount, status) VALUES
('Alice', 150.00, 'delivered'),
('Bob', 89.99, 'shipped'),
('Charlie', 245.50, 'pending'),
('Diana', 67.25, 'delivered'),
('Eve', 189.00, 'shipped');
SELECT status, COUNT(*) as orders, SUM(amount) as total
FROM orders
GROUP BY status
ORDER BY total DESC;
More Databases compilers
Browse all 109 languages — the same editor runs each of them, in the browser or on a shared runner.