Fizzbuzz With Common Table Expressions
PreviousGet A Quick Approximate Count Of A TableNextFind Duplicate Records In Table Without Unique Id
Last updated
Was this helpful?
Last updated
Was this helpful?
In learning about CTEs (common table expressions) in postgres, I discovered that you can do some interesting and powerful things using the with recursive
construct. The following solves the fizzbuzz problem for integers up to 100
Check out for more details on CTEs.