Re: Difference between Access97 and PostgreSQL

Поиск
Список
Период
Сортировка
От Roberto Mello
Тема Re: Difference between Access97 and PostgreSQL
Дата
Msg-id 20020131153103.GA14401@cc.usu.edu
обсуждение исходный текст
Ответ на Difference between Access97 and PostgreSQL  ("Yan Bai" <annie_job@hotmail.com>)
Ответы Re: Difference between Access97 and PostgreSQL  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Список pgsql-sql
On Wed, Jan 30, 2002 at 11:54:56PM +0000, Yan Bai wrote:
> 
> --------------------------------------------------
> SELECT temp.rating, temp.avgage
> FROM (SELECT s.rating, AVG(s.age) as avgage
>      FROM sailors s GROUP BY s.rating) as temp

Have you tried this query without the subselect? It looks like it should
work.

-Roberto

-- 
+----| http://fslc.usu.edu/ USU Free Software & GNU/Linux Club |------+ Roberto Mello - Computer Science, USU -
http://www.brasileiro.net/      http://www.sdl.usu.edu/ - Space Dynamics Lab, Developer    
 
It said "Insert disk #3", but only 2 will fit!


В списке pgsql-sql по дате отправления:

Предыдущее
От: Tod McQuillin
Дата:
Сообщение: Re: How to merge several attributes and Delete an attribute
Следующее
От: "Radu-Adrian Popescu"
Дата:
Сообщение: Regression tests failed on 7.2rc2