SQLize Online / PHPize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
create table products (id int, val_a int, image_id int); insert into products values (1, 100, 32); create table images (id int, image varchar(255)); insert into images values (32, 'path_to_images/32.jpg'); select p.id, i.image from products p join images i on i.id = p.image_id;
Stuck with a problem? Got Error? Ask ChatGPT!
Copy Clear