| От | Rob Sargent |
|---|---|
| Тема | Re: How to just get the last in a recursive query |
| Дата | |
| Msg-id | 3817c56b-458d-5295-e8bc-1001231dc5c8@gmail.com обсуждение |
| Ответ на | How to just get the last in a recursive query (Shaozhong SHI <shishaozhong@gmail.com>) |
| Ответы |
Re: How to just get the last in a recursive query
|
| Список | pgsql-sql |
reverse the order of the last query and set limit 1---------- Forwarded message ---------
From: Shaozhong SHI <shishaozhong@gmail.com>
Date: Mon, 4 Apr 2022 at 23:13
Subject: How to just get the last in a recursive query
To: PostGIS Users Discussion <postgis-users@lists.osgeo.org>In this example, Network Walking in PostGIS · Paul Ramsey (cleverelephant.ca)3 rows got returns as follows:id --- 6 3 1How to just get the last (namely, 1) in the most efficient way?Regards, David
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера