Sum Types In SQL
SQL databases represent product types – “and” – extremely well, but it has trouble with sum types – “or”. Most SQL databases support simple enumerations easily, but they lack the ability to talk about real sum types with fields. We can encode sum types in SQL in a few different ways, each of which has upsides and downsides.
Appears in lists (1)
More like this (2)
Introduction to Python SQL Libraries Learn how to connect to different database management systems by using...
A Survey of SQL:2011 Temporal Features — A look at features available in MariaDB, IBM DB2,...