r/shittyprogramming • • Oct 02 '19

Just a simple formula.

https://imgur.com/a/oSSOSqN
116 Upvotes

19 comments sorted by

View all comments

Show parent comment

1

u/basilect Oct 04 '19

The query planner is probably going to optimize most of that away anyway... and it's just arithmetic anyhow.