| От | Guyren Howe |
|---|---|
| Тема | Re: nth_value out of more than n values returns null |
| Дата | |
| Msg-id | 34536f21-801c-41cb-a5ba-5389ce8201d0@Spark обсуждение исходный текст |
| Ответ на | Re: nth_value out of more than n values returns null ("David G. Johnston" <david.g.johnston@gmail.com>) |
| Ответы |
Re: nth_value out of more than n values returns null
|
| Список | pgsql-general |
On Monday, November 4, 2024, Guyren Howe <guyren@gmail.com> wrote:I’m trying to get the id of the 5,000,000th record, so I can join against it to get a name. I didn’t fully understand what the docs say there. What am I missing?So just use “offset 5_000_000 limit 1”. Bringing in a window function here seems unhelpful.David J.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера