Hi! Could we please enable some services and cookies to improve your experience and our website?

SQLize | PHPize | SQLtest

Online Sandbox for SQL and PHP: Write, Run, Test, and Share SQL Queries and PHP Code

A A A
Login    Share code      Blog   FAQ
Copy Format Clear
CREATE TABLE continents ( id INT AUTO_INCREMENT PRIMARY KEY, name VARCHAR(50) NOT NULL ); INSERT INTO continents (name) VALUES ('Africa'), ('Antarctica'), ('The Asia'), ('The state of the Europe union'), ('North America'), ('South America'), ('Australia'); select * from continents where name rlike 'the' collate utf8mb4_0900_ai_ci and name rlike '^the' collate utf8mb4_0900_ai_ci;

Stuck with a problem? Got Error? Ask AI support!

Copy Clear