| От | Verena Ruff |
|---|---|
| Тема | Re: select count(*) and limit |
| Дата | |
| Msg-id | 446C65FF.5030907@triosolutions.at обсуждение исходный текст |
| Ответ на | Re: select count(*) and limit (Oscar Rodriguez Fonseca <info@vraniscci.com>) |
| Ответы |
Re: select count(*) and limit
|
| Список | pgsql-novice |
Oscar Rodriguez Fonseca schrieb: > But I do not get the point of the query. > the reason why I'm asking is that I have some rather complex queries and I'd like to present the result in a paged way. I need to get the 10 records I'd like to present the user and I need to know how many records there are to calculate how many pages are needed and to create the neccessary links. The real query isn't as simple as the shown example, there are a few joins making it quite complex and slow. So I'm looking for a way to do this with one query and saving some time. Regards, Verena
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера