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
-- stat и clc. create table clc ( user_id int ); insert into clc values (1), (2), (3); create table stat ( user_id int ); insert into stat values (1), (3); select * from clc where not exists (select user_id from stat where stat.user_id = clc.user_id); select clc.* from clc left join stat on stat.user_id = clc.user_id where stat.user_id is null;

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

Copy Clear