Search Postgresql Archives

Re: SELECT DISTINCT ON removes results

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Oct 28, 2016, at 14:15 , Guyren Howe <guyren@xxxxxxxxx> wrote:

On Oct 28, 2016, at 13:50 , David G. Johnston <david.g.johnston@xxxxxxxxx> wrote:

​On its face the statement "DISTINCT ON removes results" is not at all surprising given its definition.

What is surprising is that it removes *all* results…

The inner query on its own appears to produce the same results, but the left join with it in either case produces different results.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux