© Ben Brumm 2019
Ben BrummBeginning Oracle SQL for Oracle Database 18chttps://doi.org/10.1007/978-1-4842-4430-2_8

8. Working with Nulls

Ben Brumm1 
(1)
Melbourne, VIC, Australia
 

In this chapter, you’ll learn all about a concept in SQL and databases called “null.” In the sample table you’ve been using, every record has a value for every column. However, when working with real databases, this is not always the case. The concept of “null” is used when data is not known.

Missing Data

In a real database, there could be a situation where data is missing. This could be deliberately (we don’t know what the value is), or some kind of bug (there should be a value but there isn’t). Tables in a database don’t require you to store a value in every row and column. ...

Get Beginning Oracle SQL for Oracle Database 18c: From Novice to Professional now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.