SQLize Online / PHPize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
create table t1 (id int); insert into t1 values (1),(2),(3); create table t2 (category_id varchar(64)); insert into t2 values ('category_id=1'),('category_id=2'),('category_id=3'); select * from t1 join t2 on concat('category_id=', t1.id) = t2.category_id;
Stuck with a problem? Got Error? Ask ChatGPT!
Copy Clear