SQLize Online / PHPize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
CREATE TABLE customers ( id INT UNSIGNED NOT NULL AUTO_INCREMENT, email VARCHAR(255) NOT NULL, PRIMARY KEY (id) USING BTREE ); ALTER TABLE customers ADD CONSTRAINT UK_email UNIQUE (email) ; insert into customers (email) Values ('test@test.com'); insert into customers (email) Values ('test@test.com'); select * from customers;

Stuck with a problem? Got Error? Ask ChatGPT!

Copy Clear