Re: MOD

Поиск
Список
Период
Сортировка
От John McKown
Тема Re: MOD
Дата
Msg-id Pine.LNX.4.21.0007172152230.2158-100000@linux2.johnmckown.net
обсуждение исходный текст
Ответ на MOD  (Tyler Wood <electric_pancake@yahoo.com>)
Список pgsql-general
On Mon, 17 Jul 2000, Tyler Wood wrote:

> name,namelink,address,city,state,zip,email
>         from company where MOD(nextscreen,2)=1 order

MOD is short for MODulus, which means the remainder after division. In
the above, it divides nextscreen by 2. If the remainder is 1, then it
selects the row. I.e. "If nextscreen is odd"

John McKown


В списке pgsql-general по дате отправления:

Предыдущее
От: John McKown
Дата:
Сообщение: Re: Mailing list archives?
Следующее
От: Denis Perchine
Дата:
Сообщение: Re: Quoting routines in libpq