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

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Shaozhong SHI <shishaozhong(at)gmail(dot)com>
Cc: Rob Sargent <robjsargent(at)gmail(dot)com>, pgsql-sql <pgsql-sql(at)lists(dot)postgresql(dot)org>
Subject: Re: How to just get the last in a recursive query
Date: 2022-04-04 23:32:12
Message-ID: CAKFQuwZU1mex4t8JGz2DKJZ4cLf25w4vY9fDAJCYtJcpezWnbQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Mon, Apr 4, 2022, 16:21 Shaozhong SHI <shishaozhong(at)gmail(dot)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.

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Steve Midgley 2022-04-05 00:00:00 Re: How to just get the last in a recursive query
Previous Message Rob Sargent 2022-04-04 23:24:42 Re: How to just get the last in a recursive query