clear markdown compare help donate comments/suggestions/bugs a leap of faith?
clear markdown donate comments/suggestions/bugs a leap of faith?
By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0

SELECT n, exp( sum( ln( n ) ) OVER ( ORDER BY n ) )::NUMERIC AS lfd_prod, exp( sum( ln( n ) ) OVER ( ORDER BY n ) )::INTEGER AS lfd_prod_int FROM generate_series( 1, 10) AS n
n lfd_prod lfd_prod_int
1 1 1
2 2 2
3 6 6
4 24 24
5 120 120
6 720 720
7 5040 5040
8 40320 40320
9 362880 362880
10 3628800.00000001 3628800
 hidden batch(es)