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
-- Интересная задача, которая помогла мне лучше понять left outer join create table t1( nom integer ); create table t2( nom integer ); /* insert into t1 values (1), (2), (3); insert into t2 values (4), (5), (6), (7); */ insert into t1 values (1), (1), (1); insert into t2 values (1), (1), (1), (1); select * from t1 left join t2 on t1.nom = t2.nom; -- Минимально вчегда будет 3 строки, максимально будет 12 строк.

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

Copy Clear