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 null_test ( id int, test varchar(64) ); insert into null_test values (1, 'Test'); insert into null_test values (2, null); insert into null_test values (3, ''); select id, test, case when test is null then 'test is NULL' else 'test NOT NULL' end isNULL from null_test; select id, test from null_test where test = '';

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

Copy Clear