Re: How to just get the last in a recursive query

David G. Johnston <david.g.johnston@gmail.com>

From: "David G. Johnston" <david.g.johnston@gmail.com>
To: Shaozhong SHI <shishaozhong@gmail.com>
Cc: Rob Sargent <robjsargent@gmail.com>, pgsql-sql <pgsql-sql@lists.postgresql.org>
Date: 2022-04-04T23:32:12Z
Lists: pgsql-sql
On Mon, Apr 4, 2022, 16:21 Shaozhong SHI <shishaozhong@gmail.com> wrote:

> That is not the most efficient in this case.


Can you prove that statement?  Provide a query that is more efficient.

David J.