Let’s recap what data types we’ve covered so far:
- Boolean.
TRUEorFALSE - Text.
textvalues like emails, names, countries etc - Numeric.
integernumbers like 1, 2, 99 orfloat1.123, 129.33333 - Date. Datetime, Interval for dealing with dates, timestamps and time intervals
NULL. No value
All these data types have one thing in common – they hold a single value.
Holding single value is great – it is easy to understand, easy to maintain. It’s a perfect choice for a column which will always have data (for example: email or book title). The price we pay...