Multiple Column Data Elements
The concept of a data element being atomic or scalar is usually taken to mean that it is represented with a single column in a table. This is not always true. A data element is atomic when it cannot be decomposed into independent, meaningful parts. Doing so would result in attribute splitting, a very serious design flaw we discussed in other parts of this book.
Consider an (x, y) coordinate system. A single x or y value identifies a continuum of points, while the pair has to be taken together to give you a single location on the plane. It would be inconvenient to put both coordinates into one column, so we model them in two columns. This is notation and not the abstract data element.
14.1 Distance Functions
Since ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access