NULL Operator

From rbachwiki
Revision as of 19:58, 24 October 2017 by Bacchas (talk | contribs) (Created page with "If you need to identify records that have a NULL value, you must use the IS NULL comparison operator SELECT order#, shipdate FROM orders WHERE shipdate IS NULL; SELECT o...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

If you need to identify records that have a NULL value, you must use the IS NULL comparison operator

SELECT order#, shipdate
FROM orders
WHERE shipdate IS NULL;
SELECT order#, shipdate
FROM orders
WHERE shipdate IS NOT NULL;

Back To Top- Home - Category