Re: selection limit

Поиск
Список
Период
Сортировка
От Muhyiddin A.M Hayat
Тема Re: selection limit
Дата
Msg-id 001701c39ad8$893dd490$1f00a8c0@middinkcomp
обсуждение исходный текст
Ответ на selection limit  ("cristi" <cristi@dmhi.ct.ro>)
Список pgsql-novice
----- Original Message -----
From: "cristi" <cristi@dmhi.ct.ro>
To: <pgsql-novice@postgresql.org>
Sent: Saturday, October 25, 2003 1:29 PM
Subject: [NOVICE] selection limit


> In this moment I can make a selection of the first (or last) 10 records
from
> a table.
> select * from table_name limit 10;
> I want to make a selection of the next 10 records (from 10 to 20 or from
50
> to 60) from a table.
>
> How can I do that?

select * from table_name limit 10  OFFSET 10;
select * from table_name limit 10  OFFSET 50;



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

Предыдущее
От: "cristi"
Дата:
Сообщение: selection limit
Следующее
От: Paul Ganainm
Дата:
Сообщение: Re: advice