Re: Re: [SQL] MAX() of 0 records.
От | Philip Warner |
---|---|
Тема | Re: Re: [SQL] MAX() of 0 records. |
Дата | |
Msg-id | 3.0.5.32.20000710102430.009bf510@mail.rhyme.com.au обсуждение исходный текст |
Ответ на | Re: [SQL] MAX() of 0 records. (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: Re: [SQL] MAX() of 0 records.
|
Список | pgsql-hackers |
At 14:35 9/07/00 -0400, Tom Lane wrote: > >so the construct is definitely not SQL-compliant. Maybe we should just >forbid it. However, if you are joining against another table (which >itself is not an SQL feature) then it seems like there is some potential >use in it. What do people think of my implicit-GROUP-BY-ctid idea? >That would basically say that the aggregate is computed over all the >tuples that join to a single target tuple. Sounds perfect to me... ---------------------------------------------------------------- Philip Warner | __---_____ Albatross Consulting Pty. Ltd. |----/ - \ (A.C.N. 008 659 498) | /(@) ______---_ Tel: (+61) 0500 83 82 81 | _________ \ Fax: (+61) 0500 83 82 82 | ___________ | Http://www.rhyme.com.au | / \| | --________-- PGP key available upon request, | / and from pgp5.ai.mit.edu:11371 |/
В списке pgsql-hackers по дате отправления: