Testing NULLs

suggest change

This LEFT JOIN keeps rows of a that have no match in b. Test a column that cannot be NULL in b, such as its primary key.

SELECT ...
    FROM a
    LEFT JOIN b ON ...
    WHERE b.id IS NULL

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents