Let’s recap what data types we’ve covered so far:
- Boolean.
TRUE
orFALSE
- Text.
text
values like emails, names, countries etc - Numeric.
integer
numbers like 1, 2, 99 orfloat
1.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...