Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ilogik
on Feb 3, 2020
|
parent
|
context
|
favorite
| on:
Null Values in SQL Queries
except that age = 0 is valid if your database has toddlers. Hell, even -1 makes sense if you're running a query to get the age of someone at a specific time. this is why you should try to use NULLs whenever possible
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: