On Thu, Jun 1, 2017 at 9:45 AM, <marc(at)daelemans(dot)com> wrote:> select i, i&11 as j from generate_series ( 1, 100 ) i ;
That's bitwise AND, not modulo.
-- Thomas Munrohttp://www.enterprisedb.com