Re:PostgreSQL Exercises
by knightni on Thursday December 12, 2013 @10:41AM
(#6894986)
You're running into the fact that Postgres doesn't automatically cast ints to floats - so 1/50 = 0. Try using 1.0/50.0 instead.
[ Parent
| on HN ]